From dbe5bf1d18e28b4bb1bceb5d9e3270a48a1c35cd Mon Sep 17 00:00:00 2001 From: Zephyron Date: Sat, 22 Feb 2025 19:07:53 +1000 Subject: 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. --- src/android/build.gradle.kts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/android/build.gradle.kts') 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") } } -- cgit v1.2.3