buildscript { repositories { mavenCentral() jcenter() } dependencies { classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.5' classpath 'com.android.tools.build:gradle:0.10+' classpath 'com.github.jtakakura:gradle-robovm-plugin:0.0.10' } } allprojects { version = '1.0.1' ext { appName = 'RustAndDust' gdxVersion = '1.9.2' roboVMVersion = '0.0.14' } repositories { mavenCentral() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } maven { url "https://oss.sonatype.org/content/repositories/releases/" } } gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" } } } 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" compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop" compile fileTree(dir: 'libs', include: '*.jar') } } 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" natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86" compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi" natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a" natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86" compile fileTree(dir: 'libs', include: '*.jar') } } project(":assets") { configurations { texturePacker } } project(":core") { apply plugin: "java" dependencies { compile "com.badlogicgames.gdx:gdx:$gdxVersion" compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion" testCompile "junit:junit:+" compile fileTree(dir: 'libs', include: '*.jar') } } task ctags(type: Exec) { executable "ctags" args "-R", "--language-force=java", "-f.tags", "core/src/" }