Skip to content

Commit

Permalink
VTM native libraries for Android and Desktop (Win, Mac, Linux), closes
Browse files Browse the repository at this point in the history
  • Loading branch information
devemux86 committed Jun 17, 2016
1 parent e85ec48 commit 3ea5af2
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ target/
build/
*.o
*.so
*.jar
*.class
/vtm-web/war/
/vtm-web/assets/
Expand Down
2 changes: 1 addition & 1 deletion vtm-android-example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.+'
Expand Down
2 changes: 1 addition & 1 deletion vtm-android-gdx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion vtm-android-start/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.+'
Expand Down
2 changes: 1 addition & 1 deletion vtm-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
Binary file added vtm-android/vtm-jni-natives.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion vtm-desktop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Binary file added vtm-desktop/vtm-jni-natives.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion vtm-playground/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit 3ea5af2

Please sign in to comment.