|
@@ -10,13 +10,18 @@ android {
|
|
|
compileSdk = flutter.compileSdkVersion
|
|
compileSdk = flutter.compileSdkVersion
|
|
|
ndkVersion = flutter.ndkVersion
|
|
ndkVersion = flutter.ndkVersion
|
|
|
|
|
|
|
|
|
|
+ aaptOptions {
|
|
|
|
|
+ noCompress("tflite")
|
|
|
|
|
+ noCompress("lite")
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
compileOptions {
|
|
compileOptions {
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
kotlinOptions {
|
|
|
- jvmTarget = JavaVersion.VERSION_17.toString()
|
|
|
|
|
|
|
+ jvmTarget = "17"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
|
defaultConfig {
|
|
@@ -35,6 +40,9 @@ android {
|
|
|
// TODO: Add your own signing config for the release build.
|
|
// TODO: Add your own signing config for the release build.
|
|
|
// Signing with the debug keys for now, so `flutter run --release` works.
|
|
// Signing with the debug keys for now, so `flutter run --release` works.
|
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
|
|
|
+ isMinifyEnabled = false
|
|
|
|
|
+ isShrinkResources = false
|
|
|
|
|
+ proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|