From 6cd2c827909076043d369a1fd08cc2222a4e8f98 Mon Sep 17 00:00:00 2001 From: zarzet <42882290+zarzet@users.noreply.github.com> Date: Thu, 17 Sep 2026 02:59:14 +0700 Subject: [PATCH] chore(android): update native dependencies and build tooling --- android/app/build.gradle.kts | 5 +++-- android/gradle.properties | 2 +- android/settings.gradle.kts | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 425c592a..4979b650 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -178,10 +178,10 @@ flutter { dependencies { if (discordSdkAar != null) { implementation(files(discordSdkAar)) - implementation("androidx.browser:browser:1.9.0") + implementation("androidx.browser:browser:1.10.0") } coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5") - implementation("net.java.dev.jna:jna:5.17.0@aar") + implementation("net.java.dev.jna:jna:5.19.1@aar") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.11.0") implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.11.0") @@ -192,6 +192,7 @@ dependencies { compileOnly("com.antonkarpenko:ffmpeg-kit-full:2.2.1") testImplementation("junit:junit:4.13.2") + testImplementation("org.json:json:20260814") androidTestImplementation("androidx.test:runner:1.7.0") androidTestImplementation("androidx.test.ext:junit:1.3.0") } diff --git a/android/gradle.properties b/android/gradle.properties index 87ae5497..d855c5b0 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,4 +1,4 @@ -org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:ReservedCodeCacheSize=256m -XX:+HeapDumpOnOutOfMemoryError +org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=1g -XX:ReservedCodeCacheSize=256m -XX:+HeapDumpOnOutOfMemoryError android.useAndroidX=true android.builtInKotlin=false android.newDsl=false diff --git a/android/settings.gradle.kts b/android/settings.gradle.kts index 06991ba2..7053568d 100644 --- a/android/settings.gradle.kts +++ b/android/settings.gradle.kts @@ -19,8 +19,8 @@ pluginManagement { plugins { id("dev.flutter.flutter-plugin-loader") version "1.0.0" - id("com.android.application") version "9.3.2" apply false - id("org.jetbrains.kotlin.android") version "2.4.10" apply false + id("com.android.application") version "9.4.0" apply false + id("org.jetbrains.kotlin.android") version "2.4.20" apply false } include(":app")