gradle: update to 2.1 and android targetSdk 21

- add android-appcompat subproject
This commit is contained in:
Hannes Janetzek
2014-10-24 21:38:47 +02:00
parent 0bc45dfd74
commit f4ffac44d2
27 changed files with 275 additions and 169 deletions

View File

@@ -20,9 +20,11 @@ mainClassName = 'org.oscim.gdx.GdxMapApp'
//}
sourceSets {
main.java.srcDirs = ['src']
//main.resources.srcDirs = ["${buildDir}/assets"]
output.resourcesDir = 'assets'
main {
java.srcDirs = ['src']
//main.resources.srcDirs = ["${buildDir}/assets"]
output.resourcesDir = 'assets'
}
}
dependencies {
@@ -31,7 +33,7 @@ dependencies {
//compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-backend-jglfw:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile 'org.slf4j:slf4j-simple:1.7.5'
compile 'org.slf4j:slf4j-simple:1.7.6'
compile files('../vtm-ext-libs/gdx/vtm-jni-natives.jar')
}