summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.gradle9
-rw-r--r--plugins/hello_gdextension/build.gradle3
-rw-r--r--plugins/hello_signals/build.gradle3
-rw-r--r--plugins/hello_world/build.gradle3
4 files changed, 11 insertions, 7 deletions
diff --git a/config.gradle b/config.gradle
index 220cc88..5249c4b 100644
--- a/config.gradle
+++ b/config.gradle
@@ -1,11 +1,18 @@
+final snapshotGodotAndroidLib = "io.github.m4gr3d:godot:4.2.0.dev-SNAPSHOT"
+final stableGodotAndroidLib = "org.godotengine:godot:4.1.0.stable"
+
ext {
versions = [
gradlePluginVersion: '7.4.0',
compileSdk : 33,
minSdk : 21,
targetSdk : 33,
- godotLibVersion : '4.1.0.stable',
javaVersion : JavaVersion.VERSION_11,
kotlinVersion : '1.7.21',
]
+
+ libraries = [
+ // TODO: Update the godot dep when 4.2 is stable
+ godotAndroidLib: snapshotGodotAndroidLib,
+ ]
}
diff --git a/plugins/hello_gdextension/build.gradle b/plugins/hello_gdextension/build.gradle
index 216001d..11896d5 100644
--- a/plugins/hello_gdextension/build.gradle
+++ b/plugins/hello_gdextension/build.gradle
@@ -40,8 +40,7 @@ android {
}
dependencies {
- // TODO: Update the godot dep when 4.2 is stable
- compileOnly "io.github.m4gr3d:godot:4.2.0.dev-SNAPSHOT"
+ compileOnly libraries.godotAndroidLib
implementation "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlinVersion"
}
diff --git a/plugins/hello_signals/build.gradle b/plugins/hello_signals/build.gradle
index eff0811..d639858 100644
--- a/plugins/hello_signals/build.gradle
+++ b/plugins/hello_signals/build.gradle
@@ -25,8 +25,7 @@ android {
}
dependencies {
- // TODO: Update the godot dep when 4.2 is stable
- compileOnly "io.github.m4gr3d:godot:4.2.0.dev-SNAPSHOT"
+ compileOnly libraries.godotAndroidLib
implementation "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlinVersion"
}
diff --git a/plugins/hello_world/build.gradle b/plugins/hello_world/build.gradle
index b948b11..598366e 100644
--- a/plugins/hello_world/build.gradle
+++ b/plugins/hello_world/build.gradle
@@ -25,8 +25,7 @@ android {
}
dependencies {
- // TODO: Update the godot dep when 4.2 is stable
- compileOnly "io.github.m4gr3d:godot:4.2.0.dev-SNAPSHOT"
+ compileOnly libraries.godotAndroidLib
implementation "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlinVersion"
}