Native libraries publishing artifacts, closes #43
This commit is contained in:
@@ -5,14 +5,12 @@ apply plugin: 'application'
|
||||
dependencies {
|
||||
compile project(':vtm-gdx')
|
||||
compile project(':vtm-themes')
|
||||
compile files('vtm-natives-desktop.jar')
|
||||
compile files('natives')
|
||||
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
||||
compile "com.badlogicgames.gdx:gdx-backend-jglfw:$gdxVersion"
|
||||
compile 'org.slf4j:slf4j-simple:1.7.21'
|
||||
}
|
||||
|
||||
mainClassName = 'org.oscim.gdx.GdxMapApp'
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java.srcDirs = ['src']
|
||||
@@ -20,6 +18,16 @@ sourceSets {
|
||||
}
|
||||
}
|
||||
|
||||
task nativesJar(type: Jar) {
|
||||
classifier = 'natives'
|
||||
from('natives')
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives nativesJar
|
||||
}
|
||||
|
||||
mainClassName = 'org.oscim.gdx.GdxMapApp'
|
||||
run { ignoreExitValue = true }
|
||||
|
||||
// Automated Gradle project deployment to Sonatype OSSRH
|
||||
|
||||
BIN
vtm-desktop/natives/libvtm-jni.dylib
Executable file
BIN
vtm-desktop/natives/libvtm-jni.dylib
Executable file
Binary file not shown.
BIN
vtm-desktop/natives/libvtm-jni.so
Normal file
BIN
vtm-desktop/natives/libvtm-jni.so
Normal file
Binary file not shown.
BIN
vtm-desktop/natives/libvtm-jni64.dylib
Executable file
BIN
vtm-desktop/natives/libvtm-jni64.dylib
Executable file
Binary file not shown.
BIN
vtm-desktop/natives/libvtm-jni64.so
Normal file
BIN
vtm-desktop/natives/libvtm-jni64.so
Normal file
Binary file not shown.
BIN
vtm-desktop/natives/vtm-jni.dll
Normal file
BIN
vtm-desktop/natives/vtm-jni.dll
Normal file
Binary file not shown.
BIN
vtm-desktop/natives/vtm-jni64.dll
Normal file
BIN
vtm-desktop/natives/vtm-jni64.dll
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user