ColorRunner/build.gradle

80 lines
1.9 KiB
Groovy
Raw Normal View History

2014-08-09 22:41:29 +02:00
buildscript {
2017-11-22 19:14:24 +01:00
2014-08-09 22:41:29 +02:00
repositories {
2017-11-22 19:14:24 +01:00
mavenLocal()
2014-08-09 22:41:29 +02:00
mavenCentral()
2017-04-13 21:40:57 +02:00
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
2014-08-09 22:41:29 +02:00
}
dependencies {
2017-11-22 19:14:24 +01:00
classpath 'com.android.tools.build:gradle:2.2.0'
2014-08-09 22:41:29 +02:00
}
}
allprojects {
2017-11-22 19:14:24 +01:00
apply plugin: "eclipse"
2014-08-09 22:41:29 +02:00
apply plugin: "idea"
version = '1.0'
ext {
2017-11-22 19:14:24 +01:00
appName = "colorrunner"
gdxVersion = '1.9.7'
roboVMVersion = '2.3.1'
box2DLightsVersion = '1.4'
ashleyVersion = '1.7.0'
aiVersion = '1.8.0'
2014-08-09 22:41:29 +02:00
}
repositories {
2017-11-22 19:14:24 +01:00
mavenLocal()
2014-08-09 22:41:29 +02:00
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
}
project(":desktop") {
apply plugin: "java"
dependencies {
compile project(":core")
compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
2017-11-22 19:14:24 +01:00
2014-08-09 22:41:29 +02:00
}
}
project(":android") {
apply plugin: "android"
configurations { natives }
dependencies {
compile project(":core")
compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
2017-11-22 19:14:24 +01:00
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
2014-08-09 22:41:29 +02:00
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
2017-11-22 19:14:24 +01:00
natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
2014-08-09 22:41:29 +02:00
}
}
project(":core") {
apply plugin: "java"
dependencies {
compile "com.badlogicgames.gdx:gdx:$gdxVersion"
2017-11-22 19:14:24 +01:00
2014-08-09 22:41:29 +02:00
}
}
2017-11-22 19:14:24 +01:00
tasks.eclipse.doLast {
delete ".project"
2014-08-09 22:41:29 +02:00
}