Skip to content

Commit 5082dd0

Browse files
Copilotwarreth
andcommitted
Enable core library desugaring for flutter_local_notifications
Co-authored-by: warreth <181062918+warreth@users.noreply.github.com>
1 parent 0196215 commit 5082dd0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

android/app/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ android {
2222
compileOptions {
2323
sourceCompatibility = JavaVersion.VERSION_17
2424
targetCompatibility = JavaVersion.VERSION_17
25+
coreLibraryDesugaringEnabled true
2526
}
2627

2728
kotlinOptions {
@@ -75,4 +76,8 @@ android {
7576

7677
flutter {
7778
source = "../.."
79+
}
80+
81+
dependencies {
82+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
7883
}

0 commit comments

Comments
 (0)