X-Git-Url: https://deadsoftware.ru/gitweb?p=cavedroid.git;a=blobdiff_plain;f=build.gradle;h=1a9b5543ad82a0aa0ec9cfac224d682055be5970;hp=df885fc81975a229c4ebb06003f4aa2ea73e37d0;hb=HEAD;hpb=a5dae91a0aa8d2f9d29de13bbbc78f1ad7c8ec31 diff --git a/build.gradle b/build.gradle index df885fc..60a1bb3 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,19 @@ buildscript { + ext { + appName = "CaveDroid" + + gdxVersion = '1.12.0' + + guavaVersion = '28.1' + + daggerVersion = '2.51.1' + + kotlinVersion = '1.9.24' + kspVersion = '1.9.24-1.0.20' + kotlinSerializationVersion = '1.6.3' + + kotlinpoetKspVersion = '1.16.0' + } repositories { mavenLocal() @@ -10,19 +25,12 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:8.2.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } allprojects { - - version = 'alpha0.5.0' - ext { - appName = "CaveDroid" - gdxVersion = '1.12.0' - guavaVersion = '28.1' - daggerVersion = '2.40.1' - } + version = 'alpha0.9.2' repositories { mavenLocal() @@ -31,48 +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") - 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:2.40.1' - implementation 'org.jetbrains:annotations:23.1.0' - implementation "org.jetbrains.kotlin:kotlin-stdlib:1.9.23" - annotationProcessor 'com.google.dagger:dagger-compiler:2.40.1' - } -} \ No newline at end of file