Migrate to jlibloader 0.2

This commit is contained in:
2014-11-26 21:26:57 +00:00
parent 5b370b441d
commit a701b82299
4 changed files with 4 additions and 205 deletions

View File

@@ -10,7 +10,7 @@ repositories {
}
dependencies {
compile 'com.github.boukefalos:jlibloader:0.1'
compile 'com.github.boukefalos:jlibloader:0.2'
testCompile 'junit:junit:3.8.1'
}
@@ -114,7 +114,8 @@ binaries.withType(SharedLibraryBinary) { binary ->
jniPom.scopeMappings.mappings.clear()
}
def builderTask = binary.tasks.builder
nativeJar.into(project.group.replace('.', '/') + '/' + variantName) { from builderTask.outputFile }
def libraryDirectory = project.group.replace('.', '/') + "/${project.archivesBaseName}/${variantName}"
nativeJar.into(libraryDirectory) { from builderTask.outputFile }
nativeJar.dependsOn builderTask
}
@@ -135,7 +136,7 @@ mainPom.withXml { provider ->
def dep = deps.appendNode('dependency')
dep.appendNode('groupId', 'com.github.boukefalos')
dep.appendNode('artifactId', 'jlibloader')
dep.appendNode('version', '0.1')
dep.appendNode('version', '0.2')
}
jar {