Migrate to renamed loader and rename artifact group

This commit is contained in:
2014-11-24 13:34:06 +00:00
parent 10c8cc74f7
commit 81f501f0d1
5 changed files with 7 additions and 61 deletions

View File

@@ -4,24 +4,16 @@ apply plugin: 'maven'
apply plugin: 'eclipse'
repositories {
maven {
url 'http://localhost/mvn/'
//url 'C:/Users/Rik/Git/github/mimis/cpp/mimis/.maven/'
}
maven {
url 'https://github.com/Boukefalos/jlibloader/raw/mvn-repo/'
}
}
dependencies {
compile 'net.rubygrapefruit:platform:0.1'
//compile 'org.wiigee:wiigee:1.5.6'
//compile 'com.github.boukefalos.mimis:mimis:0.1'
//compile 'com.github.boukefalos.mimis:mimis-windows-i386:0.1'
//compile 'com.github.boukefalos.mimis:mimis-windows-amd64:0.1'
compile 'com.github.boukefalos:jlibloader:0.1'
}
group = 'com.github.boukefalos.mimis'
group = 'com.github.boukefalos'
project.archivesBaseName = 'jlibmimis'
version = '0.1'
@@ -146,4 +138,8 @@ mainPom.withXml { provider ->
dep.appendNode('artifactId', "${project.archivesBaseName}-${platform}")
dep.appendNode('version', project.version)
}
def dep = deps.appendNode('dependency')
dep.appendNode('groupId', 'net.rubygrapefruit')
dep.appendNode('artifactId', 'platform')
dep.appendNode('version', '0.1')
}

View File

@@ -5,7 +5,7 @@ import mimis.value.Windows;
public class Native {
static {
net.rubygrapefruit.platform.Native.load("com.github.boukefalos.mimis", "mimis");
com.github.boukefalos.jlibloader.Native.load("com.github.boukefalos", "jlibmimis");
}
public native static int getHandle(String window);