DEADSOFTWARE

Add drop and block breaking
[cavedroid.git] / build.gradle
1 buildscript {
4 repositories {
5 mavenLocal()
6 mavenCentral()
7 maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
8 jcenter()
9 }
10 dependencies {
11 classpath 'com.android.tools.build:gradle:2.1.3'
14 }
15 }
17 allprojects {
18 apply plugin: "eclipse"
19 apply plugin: "idea"
21 version = 'alpha0.4-dev'
22 ext {
23 appName = "CaveCraft"
24 gdxVersion = '1.9.7'
25 roboVMVersion = '2.3.1'
26 box2DLightsVersion = '1.4'
27 ashleyVersion = '1.7.0'
28 aiVersion = '1.8.0'
29 }
31 repositories {
32 mavenLocal()
33 mavenCentral()
34 maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
35 maven { url "https://oss.sonatype.org/content/repositories/releases/" }
36 }
37 }
39 project(":desktop") {
40 apply plugin: "java"
43 dependencies {
44 compile project(":core")
45 compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
46 compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
48 }
49 }
51 project(":android") {
52 apply plugin: "android"
54 configurations { natives }
56 dependencies {
57 compile project(":core")
58 compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
59 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
60 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
61 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
62 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
63 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
65 }
66 }
68 project(":core") {
69 apply plugin: "java"
72 dependencies {
73 compile "com.badlogicgames.gdx:gdx:$gdxVersion"
75 }
76 }
78 tasks.eclipse.doLast {
79 delete ".project"
80 }