DEADSOFTWARE

Update version
[cavedroid.git] / build.gradle
1 buildscript {
4 repositories {
5 mavenLocal()
6 mavenCentral()
7 maven { url "https://plugins.gradle.org/m2/" }
8 maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
9 jcenter()
10 google()
11 }
12 dependencies {
13 classpath 'com.android.tools.build:gradle:3.5.0'
16 }
17 }
19 allprojects {
21 version = 'alpha0.4'
22 ext {
23 appName = "CaveDroid"
24 gdxVersion = '1.9.10'
25 roboVMVersion = '2.3.7'
26 box2DLightsVersion = '1.4'
27 ashleyVersion = '1.7.0'
28 aiVersion = '1.8.0'
29 }
31 repositories {
32 mavenLocal()
33 mavenCentral()
34 jcenter()
35 google()
36 maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
37 maven { url "https://oss.sonatype.org/content/repositories/releases/" }
38 }
39 }
41 project(":desktop") {
42 apply plugin: "java-library"
45 dependencies {
46 implementation project(":core")
47 api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
48 api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
50 }
51 }
53 project(":android") {
54 apply plugin: "android"
56 configurations { natives }
58 dependencies {
59 implementation project(":core")
60 api "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
61 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
62 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
63 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
64 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
65 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
67 }
68 }
70 project(":core") {
71 apply plugin: "java-library"
74 dependencies {
75 api "com.badlogicgames.gdx:gdx:$gdxVersion"
77 }
78 }