Skip to content

Commit 3973460

Browse files
rajveermalviyagnprice
authored andcommitted
android build: Remove use of core-library desugaring
As we no longer depend on `package:flutter_local_notifications`, which required it.
1 parent 05a07f8 commit 3973460

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

android/app/build.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ android {
2727
compileOptions {
2828
sourceCompatibility JavaVersion.VERSION_1_8
2929
targetCompatibility JavaVersion.VERSION_1_8
30-
31-
// The use of desugar_jdk_libs causes warning noise at build time:
32-
// https://github.com/zulip/zulip-flutter/pull/887#issuecomment-2287653388
33-
// https://issuetracker.google.com/issues/294273986
34-
// TODO(#351): Try removing core-library desugaring once we've
35-
// removed flutter_local_notifications.
36-
coreLibraryDesugaringEnabled true
3730
}
3831

3932
kotlinOptions {
@@ -103,5 +96,4 @@ flutter {
10396

10497
dependencies {
10598
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
106-
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.4"
10799
}

0 commit comments

Comments
 (0)