summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-01-27 00:47:43 +1000
committerMike Lothian <mike@fireburn.co.uk>2025-05-11 14:29:04 +0100
commitf32c7108c009f44f85ff029f0f21c2f09d41ebd4 (patch)
tree6a0c06ea8e85ba72b2efe0cd237d38c3827a5fd0 /src/android
parentb78d35014af775a6c521ef2fd1b2d264cba87881 (diff)
android: Update Gradle and Java version requirements
Updates Android build configuration to use newer versions: - Upgrade Java/JVM target from 17 to 21 - Update Android Gradle Plugin from 8.1.2 to 8.8.0 These changes modernize the Android build system to use the latest LTS version of Java and the most recent stable Android Gradle Plugin. This enables access to newer language features and build optimizations while maintaining compatibility with modern Android development tools.
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/build.gradle.kts6
-rw-r--r--src/android/build.gradle.kts4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts
index 5ffa0d178..7cfb287c8 100644
--- a/src/android/app/build.gradle.kts
+++ b/src/android/app/build.gradle.kts
@@ -35,12 +35,12 @@ android {
}
compileOptions {
- sourceCompatibility = JavaVersion.VERSION_17
- targetCompatibility = JavaVersion.VERSION_17
+ sourceCompatibility = JavaVersion.VERSION_21
+ targetCompatibility = JavaVersion.VERSION_21
}
kotlinOptions {
- jvmTarget = "17"
+ jvmTarget = "21"
}
packaging {
diff --git a/src/android/build.gradle.kts b/src/android/build.gradle.kts
index 9fb44500b..a3fcc797b 100644
--- a/src/android/build.gradle.kts
+++ b/src/android/build.gradle.kts
@@ -3,8 +3,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
- id("com.android.application") version "8.5.2" apply false
- id("com.android.library") version "8.5.2" apply false
+ id("com.android.application") version "8.8.0" apply false
+ id("com.android.library") version "8.8.0" apply false
id("org.jetbrains.kotlin.android") version "2.0.20" apply false
}