X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=build.gradle;h=39d1d37f36ac0e4f478c3cb5cd03b7215bff7646;hb=HEAD;hp=c3d555cfd352605619c5ce0468d710fb1cb600ca;hpb=ff64866a2fd9723ab5c726d3e99b69a8f0f1fe43;p=cavedroid.git diff --git a/build.gradle b/build.gradle deleted file mode 100644 index c3d555c..0000000 --- a/build.gradle +++ /dev/null @@ -1,77 +0,0 @@ -buildscript { - - repositories { - mavenLocal() - mavenCentral() - maven { url "https://plugins.gradle.org/m2/" } - maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } - google() - } - - dependencies { - classpath 'com.android.tools.build:gradle:8.2.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23" - } -} - -allprojects { - - version = 'alpha0.4.1' - ext { - appName = "CaveDroid" - gdxVersion = '1.12.0' - guavaVersion = '28.1' - daggerVersion = '2.40.1' - } - - repositories { - mavenLocal() - mavenCentral() - google() - maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } - maven { url "https://oss.sonatype.org/content/repositories/releases/" } - maven { url "https://jitpack.io" } - } -} - -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") - 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