From 5f6fc27e0f08abec9555486f527ffcce175bc954 Mon Sep 17 00:00:00 2001 From: Krille Date: Sun, 16 Feb 2025 17:05:16 +0100 Subject: [PATCH] chore: Remove gradle workaround --- android/build.gradle | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index baaf5430d..c90ce0a80 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,30 +7,6 @@ allprojects { rootProject.buildDir = '../build' -// Workaround for building with Flutter 3.24 -// See: https://github.com/flutter/flutter/issues/153281#issuecomment-2292201697 -subprojects { - afterEvaluate { project -> - if (project.extensions.findByName("android") != null) { - Integer pluginCompileSdk = project.android.compileSdk - if (pluginCompileSdk != null && pluginCompileSdk < 31) { - project.logger.error( - "Warning: Overriding compileSdk version in Flutter plugin: " - + project.name - + " from " - + pluginCompileSdk - + " to 31 (to work around https://issuetracker.google.com/issues/199180389)." - + "\nIf there is not a new version of " + project.name + ", consider filing an issue against " - + project.name - + " to increase their compileSdk to the latest (otherwise try updating to the latest version)." - ) - project.android { - compileSdk 31 - } - } - } - } -} subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" project.evaluationDependsOn(":app")