VTM native libraries for Android and Desktop (Win, Mac, Linux), closes #14
This commit is contained in:
parent
e85ec48468
commit
3ea5af2477
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,7 +5,6 @@ target/
|
||||
build/
|
||||
*.o
|
||||
*.so
|
||||
*.jar
|
||||
*.class
|
||||
/vtm-web/war/
|
||||
/vtm-web/assets/
|
||||
|
@ -10,7 +10,7 @@ dependencies {
|
||||
compile project(':vtm-jeo')
|
||||
compile project(':vtm-extras')
|
||||
compile project(':vtm-themes')
|
||||
compile files("${rootDir}/vtm-ext-libs/native-libs.jar")
|
||||
compile files("${rootDir}/vtm-android/vtm-jni-natives.jar")
|
||||
|
||||
compile 'com.android.support:support-v4:22.+'
|
||||
compile 'com.android.support:appcompat-v7:22.+'
|
||||
|
@ -10,7 +10,7 @@ dependencies {
|
||||
//compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
|
||||
//compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
|
||||
compile files("${rootDir}/vtm-ext-libs/gdx/gdx-native-libs.jar")
|
||||
compile files("${rootDir}/vtm-ext-libs/native-libs.jar")
|
||||
compile files("${rootDir}/vtm-android/vtm-jni-natives.jar")
|
||||
}
|
||||
|
||||
//task copyLibs(type: Copy) {
|
||||
|
@ -8,7 +8,7 @@ configurations {
|
||||
dependencies {
|
||||
compile project(':vtm-android')
|
||||
compile project(':vtm-themes')
|
||||
compile files("${rootDir}/vtm-ext-libs/native-libs.jar")
|
||||
compile files("${rootDir}/vtm-android/vtm-jni-natives.jar")
|
||||
|
||||
compile 'com.android.support:support-v4:22.+'
|
||||
compile 'com.android.support:appcompat-v7:22.+'
|
||||
|
@ -7,7 +7,7 @@ configurations {
|
||||
|
||||
dependencies {
|
||||
compile project(':vtm')
|
||||
provided files("${rootDir}/vtm-ext-libs/native-libs.jar")
|
||||
provided files('vtm-jni-natives.jar')
|
||||
|
||||
compile 'com.android.support:support-v4:21.+'
|
||||
eclipseCompile project(':appcompat')
|
||||
|
BIN
vtm-android/vtm-jni-natives.jar
Normal file
BIN
vtm-android/vtm-jni-natives.jar
Normal file
Binary file not shown.
@ -34,7 +34,7 @@ dependencies {
|
||||
compile "com.badlogicgames.gdx:gdx-backend-jglfw:$gdxVersion"
|
||||
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
|
||||
compile 'org.slf4j:slf4j-simple:1.7.6'
|
||||
compile files('../vtm-ext-libs/gdx/vtm-jni-natives.jar')
|
||||
compile files('vtm-jni-natives.jar')
|
||||
}
|
||||
|
||||
run { ignoreExitValue = true }
|
||||
|
BIN
vtm-desktop/vtm-jni-natives.jar
Normal file
BIN
vtm-desktop/vtm-jni-natives.jar
Normal file
Binary file not shown.
@ -10,7 +10,7 @@ mainClassName = 'org.oscim.gdx.GdxMapApp'
|
||||
|
||||
// package vtm native libs into jar
|
||||
task copyLibs(type: Copy) {
|
||||
from(zipTree("../vtm-ext-libs/gdx/vtm-jni-natives.jar"))
|
||||
from(zipTree("../vtm-desktop/vtm-jni-natives.jar"))
|
||||
into("${buildDir}/assets")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user