experiments, testcode
This commit is contained in:
28
vtm-playground/build.gradle
Normal file
28
vtm-playground/build.gradle
Normal file
@@ -0,0 +1,28 @@
|
||||
apply plugin: 'java'
|
||||
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-desktop')
|
||||
compile project(':vtm-extras')
|
||||
compile project(':vtm-jeo')
|
||||
}
|
||||
|
||||
run { ignoreExitValue = true }
|
||||
Reference in New Issue
Block a user