add gradle gdx builds
This commit is contained in:
parent
d836ffaad1
commit
7e4f314646
@ -16,9 +16,6 @@ buildscript {
|
||||
allprojects {
|
||||
group = 'org.oscim'
|
||||
version = '0.5.9-SNAPSHOT'
|
||||
//ext.appName = 'vtm'
|
||||
//ext.gdxVersion = '1.0-SNAPSHOT'
|
||||
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
@ -2,5 +2,5 @@ rootProject.name = 'vtm'
|
||||
include ':vtm'
|
||||
include ':vtm-android'
|
||||
include ':vtm-android-example'
|
||||
//include ':vtm-gdx'
|
||||
//include ':vtm-gdx-desktop'
|
||||
include ':vtm-gdx'
|
||||
include ':vtm-gdx-desktop'
|
||||
|
29
vtm-gdx-desktop/build.gradle
Normal file
29
vtm-gdx-desktop/build.gradle
Normal file
@ -0,0 +1,29 @@
|
||||
project(':vtm-gdx-desktop') {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'application'
|
||||
|
||||
mainClassName = 'org.oscim.gdx.GdxMapApp'
|
||||
|
||||
sourceSets {
|
||||
main.java.srcDirs = ['src']
|
||||
main.resources.srcDirs = ['src']
|
||||
|
||||
main.resources.srcDirs = [
|
||||
file('../vtm/assets').getAbsolutePath()
|
||||
]
|
||||
output.resourcesDir = 'assets'
|
||||
}
|
||||
|
||||
run { ignoreExitValue = true }
|
||||
|
||||
dependencies {
|
||||
compile project(':vtm-gdx')
|
||||
compile files('../vtm-ext-libs/gdx/gdx-backend-lwjgl.jar')
|
||||
compile files('../vtm-ext-libs/gdx/gdx-backend-lwjgl-natives.jar')
|
||||
compile files('../vtm-ext-libs/gdx/gdx-natives.jar')
|
||||
compile files('../vtm-ext-libs/gdx/vtm-jni-natives.jar')
|
||||
compile 'org.slf4j:slf4j-api:1.7.5'
|
||||
compile 'org.slf4j:slf4j-simple:1.7.5'
|
||||
}
|
||||
}
|
13
vtm-gdx/build.gradle
Normal file
13
vtm-gdx/build.gradle
Normal file
@ -0,0 +1,13 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
|
||||
sourceSets {
|
||||
main.java.srcDirs = ['src']
|
||||
main.resources.srcDirs = ['src']
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':vtm')
|
||||
compile files('../vtm-ext-libs/gdx/gdx.jar')
|
||||
//compile "com.badlogicgames.gdx:gdx:$gdxVersion"
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'nexus'
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: '../vtm-ext-libs/libs', include: 'slf4j-api-1.7.5.jar')
|
||||
|
Loading…
x
Reference in New Issue
Block a user