DEADSOFTWARE

df885fc81975a229c4ebb06003f4aa2ea73e37d0
[cavedroid.git] / build.gradle
1 buildscript {
3 repositories {
4 mavenLocal()
5 mavenCentral()
6 maven { url "https://plugins.gradle.org/m2/" }
7 maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
8 google()
9 }
11 dependencies {
12 classpath 'com.android.tools.build:gradle:8.2.2'
13 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23"
14 }
15 }
17 allprojects {
19 version = 'alpha0.5.0'
20 ext {
21 appName = "CaveDroid"
22 gdxVersion = '1.12.0'
23 guavaVersion = '28.1'
24 daggerVersion = '2.40.1'
25 }
27 repositories {
28 mavenLocal()
29 mavenCentral()
30 google()
31 maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
32 maven { url "https://oss.sonatype.org/content/repositories/releases/" }
33 maven { url "https://jitpack.io" }
34 }
35 }
37 project(":desktop") {
38 apply plugin: "java-library"
40 dependencies {
41 implementation project(":core")
42 api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
43 api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
44 }
45 }
47 project(":android") {
48 apply plugin: "android"
50 configurations { natives }
52 dependencies {
53 implementation project(":core")
54 implementation platform("org.jetbrains.kotlin:kotlin-bom:1.9.23")
55 api "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
56 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
57 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
58 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
59 natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
61 configurations.implementation {
62 exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8'
63 }
64 }
65 }
67 project(":core") {
68 apply plugin: "java-library"
70 dependencies {
71 api "com.badlogicgames.gdx:gdx:$gdxVersion"
72 api "com.google.guava:guava:$guavaVersion-android"
73 api 'com.google.dagger:dagger:2.40.1'
74 implementation 'org.jetbrains:annotations:23.1.0'
75 implementation "org.jetbrains.kotlin:kotlin-stdlib:1.9.23"
76 annotationProcessor 'com.google.dagger:dagger-compiler:2.40.1'
77 }
78 }