diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-02-09 18:24:45 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-02-09 18:24:45 +1000 |
commit | b07751ed435e3231c509c7af82f1335cb88737fa (patch) | |
tree | 2850900f3540f652843832396b189375759029d1 /src | |
parent | b3c60b4cbe88d76a9999d25b1e742dbcd4992b53 (diff) |
android: Update build toolchain to NDK 28 and Java 21
Update Android build configuration to use the latest NDK version 28.0.13004108
and Java JDK 21. This includes:
- Updating ndkVersion from 26.3.11579264 to 28.0.13004108
- Upgrading Java compatibility from Java 17 to Java 21
- Setting Kotlin JVM target from 17 to 21
These changes modernize the Android build toolchain and ensure compatibility
with the latest development tools.
Diffstat (limited to 'src')
-rw-r--r-- | src/android/app/build.gradle.kts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts index ac1139677..aa98969cc 100644 --- a/src/android/app/build.gradle.kts +++ b/src/android/app/build.gradle.kts @@ -28,7 +28,7 @@ android { namespace = "org.citron.citron_emu" compileSdk = 35 - ndkVersion = "26.3.11579264" + ndkVersion = "28.0.13004108" // "26.3.11579264" buildFeatures { viewBinding = true @@ -36,12 +36,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 { |