X-Git-Url: https://deadsoftware.ru/gitweb?p=cavedroid.git;a=blobdiff_plain;f=build.gradle;h=ed846ef9ecd276fccf4cd108d0db9ce443052a1d;hp=1a9b5543ad82a0aa0ec9cfac224d682055be5970;hb=4b6a07cc0c9e649159744fc2387214a92bcc4c2f;hpb=11736fceb90d618b4a473f8308a209f25ac7ab45 diff --git a/build.gradle b/build.gradle index 1a9b554..ed846ef 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,5 @@ buildscript { - repositories { mavenLocal() mavenCentral() @@ -9,10 +8,10 @@ buildscript { jcenter() google() } + dependencies { classpath 'com.android.tools.build:gradle:3.5.0' - - + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72" } } @@ -26,6 +25,7 @@ allprojects { box2DLightsVersion = '1.4' ashleyVersion = '1.7.0' aiVersion = '1.8.0' + guavaVersion = '28.1' } repositories { @@ -41,12 +41,10 @@ allprojects { project(":desktop") { apply plugin: "java-library" - dependencies { implementation project(":core") api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion" api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop" - } } @@ -63,16 +61,18 @@ project(":android") { 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" - } } 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.27' + implementation 'org.jetbrains:annotations:15.0' + implementation "org.jetbrains.kotlin:kotlin-stdlib" + annotationProcessor 'com.google.dagger:dagger-compiler:2.27' } } \ No newline at end of file