X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=core%2Fbuild.gradle;h=3b061a7b46e305818b0cc302409847fc593d016a;hb=6bb7e1d207c640ff3b8e41ce2fb1c6203985bdb1;hp=30b4faf6d4f239c7dd76c89e8d9d16dcf5bdae21;hpb=f4d52e3e4a3712050532786fca0aded5ff8b5a03;p=cavedroid.git diff --git a/core/build.gradle b/core/build.gradle index 30b4faf..3b061a7 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -1,11 +1,26 @@ plugins { - id "java" + id "java-library" + id "org.jetbrains.kotlin.jvm" + id "kotlin" id "idea" - id "net.ltgt.apt" version "0.21" + id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlinVersion" + id 'com.google.devtools.ksp' version "$kspVersion" } -sourceCompatibility = 1.8 +java.targetCompatibility = JavaVersion.VERSION_17 +java.sourceCompatibility = JavaVersion.VERSION_17 -[compileJava, compileTestJava]*.options*.encoding = 'UTF-8' +sourceSets.main.java.srcDirs = ["src/"] -sourceSets.main.java.srcDirs = [ "src/" ] \ No newline at end of file +dependencies { + implementation "ru.fredboy:automultibind-annotations:1.0.0" + ksp "ru.fredboy:automultibind-ksp:1.0.0" + + 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" + ksp "com.google.dagger:dagger-compiler:$daggerVersion" +} \ No newline at end of file