From cdfab7a7db8b0360af8867d8156cd9f2759e522e Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Wed, 26 Mar 2025 18:46:45 +0800 Subject: [PATCH] chore: update dep Signed-off-by: bggRGjQaUbCoE --- android/build.gradle | 40 +++++++++++++++++++++++++++------------- pubspec.lock | 2 +- 2 files changed, 28 insertions(+), 14 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 784f8c778..0c10153a5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -18,19 +18,33 @@ 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 + if (pluginCompileSdk != null) { + if (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 + } + } + if (pluginCompileSdk > 34) { + project.logger.error( + "Warning: Overriding compileSdk version in Flutter plugin: " + + project.name + + " from " + + pluginCompileSdk + + " to 34" + ) + project.android { + compileSdk 34 + } } } } diff --git a/pubspec.lock b/pubspec.lock index b87dad73a..f6fd2a409 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1204,7 +1204,7 @@ packages: description: path: media_kit_video ref: "version_1.3.0" - resolved-ref: "8712919335f1407010fdcce620027a22d82d5559" + resolved-ref: "979051686b6a31a6aa8f7f9aa2202a86cabddeca" url: "https://github.com/bggRGjQaUbCoE/media-kit.git" source: git version: "1.3.0"