diff options
author | Zephyron <zephyron@citron-emu.orgq> | 2025-02-22 19:07:53 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.orgq> | 2025-02-22 19:07:53 +1000 |
commit | dbe5bf1d18e28b4bb1bceb5d9e3270a48a1c35cd (patch) | |
tree | c0141c6dad27067f621020248b3f41af0f38e6d9 /src/android/build.gradle.kts | |
parent | 7903415fa4369fbf0e8f415fbe9eb0017e0f7b3e (diff) |
android: Update build dependencies and configurations
Updates various build dependencies and configurations for the Android build:
* Upgrade Android Gradle Plugin to 8.8.1
* Update Kotlin to 2.1.20-RC
* Upgrade NDK to 28.0.13004108
* Update target/compile SDK to Android 35
* Upgrade Java/Kotlin target to JVM 21
* Enable additional release optimizations (shrinkResources, proguard-android-optimize)
* Update CMake to 3.31.5
* Update various AndroidX and support library dependencies
* Change CMake boolean flags from 0/1 to OFF/ON
* Update ktlint to 0.51.1 and related plugins
This commit modernizes the Android build system and enables additional
optimizations for release builds.
Diffstat (limited to 'src/android/build.gradle.kts')
-rw-r--r-- | src/android/build.gradle.kts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/android/build.gradle.kts b/src/android/build.gradle.kts index 083dd7395..88b32aaab 100644 --- a/src/android/build.gradle.kts +++ b/src/android/build.gradle.kts @@ -4,9 +4,9 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id("com.android.application") version "8.1.2" apply false - id("com.android.library") version "8.1.2" apply false - id("org.jetbrains.kotlin.android") version "1.9.20" apply false + id("com.android.application") version "8.8.1" apply false + id("com.android.library") version "8.8.1" apply false + id("org.jetbrains.kotlin.android") version "2.1.20-RC" apply false } tasks.register("clean").configure { @@ -18,6 +18,6 @@ buildscript { google() } dependencies { - classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.6.0") + classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.8.7") } } |