File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,13 @@ android {
2828 compileOptions {
2929 sourceCompatibility JavaVersion . VERSION_1_8
3030 targetCompatibility JavaVersion . VERSION_1_8
31+
32+ // The use of desugar_jdk_libs causes warning noise at build time:
33+ // https://github.com/zulip/zulip-flutter/pull/887#issuecomment-2287653388
34+ // https://issuetracker.google.com/issues/294273986
35+ // TODO(#351): Try removing core-library desugaring once we've
36+ // removed flutter_local_notifications.
37+ coreLibraryDesugaringEnabled true
3138 }
3239
3340 kotlinOptions {
@@ -97,4 +104,5 @@ flutter {
97104
98105dependencies {
99106 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion "
107+ coreLibraryDesugaring " com.android.tools:desugar_jdk_libs:2.0.4"
100108}
You can’t perform that action at this time.
0 commit comments