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 {
28
28
compileOptions {
29
29
sourceCompatibility JavaVersion . VERSION_1_8
30
30
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
31
38
}
32
39
33
40
kotlinOptions {
@@ -97,4 +104,5 @@ flutter {
97
104
98
105
dependencies {
99
106
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion "
107
+ coreLibraryDesugaring " com.android.tools:desugar_jdk_libs:2.0.4"
100
108
}
You can’t perform that action at this time.
0 commit comments