Enable core library desugaring for flutter_local_notifications

Add desugaring dependency and enable isCoreLibraryDesugaringEnabled
to resolve flutter_local_notifications build requirement.
This commit is contained in:
dmit.b
2026-06-25 13:26:18 +03:00
parent 506608c508
commit 2a3e6a642b
+5
View File
@@ -13,6 +13,7 @@ android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
isCoreLibraryDesugaringEnabled = true
}
kotlinOptions {
@@ -30,6 +31,10 @@ android {
versionName = flutter.versionName
}
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.