diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index e4cf41f..290b26f 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -3,6 +3,7 @@ import java.io.FileInputStream plugins { id("com.android.application") + id("kotlin-android") // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id("dev.flutter.flutter-gradle-plugin") } diff --git a/android/gradle.properties b/android/gradle.properties index 19ce8f4..68dd758 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,3 +1,2 @@ org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:ReservedCodeCacheSize=256m -XX:+HeapDumpOnOutOfMemoryError android.useAndroidX=true -android.newDsl=false diff --git a/android/settings.gradle.kts b/android/settings.gradle.kts index 9009b1e..a310ef6 100644 --- a/android/settings.gradle.kts +++ b/android/settings.gradle.kts @@ -19,7 +19,8 @@ pluginManagement { plugins { id("dev.flutter.flutter-plugin-loader") version "1.0.0" - id("com.android.application") version "9.0.0" apply false + id("com.android.application") version "8.13.2" apply false + id("org.jetbrains.kotlin.android") version "2.2.21" apply false } include(":app")