Update android/app/build.gradle

This commit is contained in:
2026-09-14 11:58:53 +00:00
parent 2b10550c12
commit e95a7b0c30
+7 -4
View File
@@ -28,12 +28,13 @@ android {
ndkVersion flutter.ndkVersion ndkVersion flutter.ndkVersion
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_17
coreLibraryDesugaringEnabled true
} }
kotlinOptions { kotlinOptions {
jvmTarget = '1.8' jvmTarget = '17'
} }
sourceSets { sourceSets {
@@ -64,4 +65,6 @@ flutter {
source '../..' source '../..'
} }
dependencies {} dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
}