Skip to content

Commit 5a1d18f

Browse files
authored
Enable core library desugaring for flutter_local_notifications
Enable core library desugaring for flutter_local_notifications
2 parents 1e4b225 + 5082dd0 commit 5a1d18f

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)