rename vtm-gdx-dektop to vtm-desktop

This commit is contained in:
Hannes Janetzek
2014-03-21 03:29:41 +01:00
parent 211efc4d5a
commit f224486e70
8 changed files with 1 additions and 1 deletions

37
vtm-desktop/build.gradle Normal file
View File

@@ -0,0 +1,37 @@
repositories {
// libgdx
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'application'
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"))
// into("${buildDir}/assets")
//}
//tasks.withType(JavaCompile) { compileTask ->
// compileTask.dependsOn copyLibs
//}
sourceSets {
main.java.srcDirs = ['src']
//main.resources.srcDirs = ["${buildDir}/assets"]
output.resourcesDir = 'assets'
}
dependencies {
compile project(':vtm-gdx')
compile project(':vtm-themes')
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
compile 'org.slf4j:slf4j-simple:1.7.5'
compile files('../vtm-ext-libs/gdx/vtm-jni-natives.jar')
}
run { ignoreExitValue = true }