X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=build.gradle;h=60a1bb36473273a246bf966c6b5d46c0122dd6e7;hb=6bb7e1d207c640ff3b8e41ce2fb1c6203985bdb1;hp=e0fb8dee9014614a9f351dce5ec82d377efb43e7;hpb=ca4dfc9c8252d4222f778db27e7505909420da39;p=cavedroid.git diff --git a/build.gradle b/build.gradle index e0fb8de..60a1bb3 100644 --- a/build.gradle +++ b/build.gradle @@ -1,12 +1,18 @@ buildscript { - ext { appName = "CaveDroid" + gdxVersion = '1.12.0' + guavaVersion = '28.1' + daggerVersion = '2.51.1' - kotlinVersion = '1.9.23' + + kotlinVersion = '1.9.24' + kspVersion = '1.9.24-1.0.20' kotlinSerializationVersion = '1.6.3' + + kotlinpoetKspVersion = '1.16.0' } repositories { @@ -24,8 +30,7 @@ buildscript { } allprojects { - - version = 'alpha0.8.0' + version = 'alpha0.9.2' repositories { mavenLocal() @@ -34,51 +39,6 @@ allprojects { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } maven { url "https://oss.sonatype.org/content/repositories/releases/" } maven { url "https://jitpack.io" } + maven { url "https://mvn.fredboy.ru/releases/" } } } - -project(":desktop") { - apply plugin: "java-library" - - dependencies { - implementation project(":core") - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinSerializationVersion" - api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion" - api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop" - } -} - -project(":android") { - apply plugin: "android" - - configurations { natives } - - dependencies { - implementation project(":core") - implementation platform("org.jetbrains.kotlin:kotlin-bom:1.9.23") - api "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion" - natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a" - natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a" - natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86" - natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64" - - configurations.implementation { - exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8' - } - } -} - -project(":core") { - apply plugin: "java-library" - - - dependencies { - api "com.badlogicgames.gdx:gdx:$gdxVersion" - api "com.google.guava:guava:$guavaVersion-android" - api "com.google.dagger:dagger:$daggerVersion" - implementation 'org.jetbrains:annotations:23.1.0' - implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" - implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinSerializationVersion" - annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion" - } -} \ No newline at end of file