From aba5cce875959eefcdbc95e0e87f97f5d67ef9d9 Mon Sep 17 00:00:00 2001 From: Rajesh Malviya Date: Fri, 18 Oct 2024 23:51:09 +0530 Subject: [PATCH] android build: Remove use of core-library desugaring --- android/app/build.gradle | 8 -------- 1 file changed, 8 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 87c532b9d3..f360f667e5 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -27,13 +27,6 @@ android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 - - // The use of desugar_jdk_libs causes warning noise at build time: - // https://github.com/zulip/zulip-flutter/pull/887#issuecomment-2287653388 - // https://issuetracker.google.com/issues/294273986 - // TODO(#351): Try removing core-library desugaring once we've - // removed flutter_local_notifications. - coreLibraryDesugaringEnabled true } kotlinOptions { @@ -103,5 +96,4 @@ flutter { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion" - coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.4" }