diff options
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 4f0a0fa..0d07f07 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:7.2.2' + classpath 'com.android.tools.build:gradle:8.1.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21" } @@ -71,6 +71,23 @@ project(":desktop") { } } +project(":android") { + apply plugin: "android" + apply plugin: "kotlin-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" + api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" + } +} + project(":core") { apply plugin: "kotlin" |
