Skip to content

Commit be5a84e

Browse files
committed
fix(app):Enable core library desugaring
1 parent 7af9f2e commit be5a84e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

android/app/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ android {
6868
compileOptions {
6969
sourceCompatibility JavaVersion.VERSION_17
7070
targetCompatibility JavaVersion.VERSION_17
71+
coreLibraryDesugaringEnabled true
7172
}
7273

7374

@@ -150,11 +151,14 @@ dependencies {
150151

151152
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
152153

154+
// Core library desugaring for flutter_local_notifications
155+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
156+
153157
// Room
154158
// implementation("androidx.room:room-runtime:$room_version")
155159
// implementation("androidx.room:room-ktx:$room_version")
156160
// ksp("androidx.room:room-compiler:$room_version")
157161
// androidTestImplementation("androidx.room:room-testing:$room_version")
158162

159163

160-
}
164+
}

0 commit comments

Comments
 (0)