fix:升级 Flutter 3.44.9级相关插件

This commit is contained in:
jingyun committed 2026-09-18 11:04:29 +08:00
1 parent d364c6d908
commit a1819348d5
26 files changed
+305 -318

No files matched your search

+21 -1
View File
@@ -1,3 +1,5 @@
import com.android.build.api.dsl.LibraryExtension
allprojects {
repositories {
google()
@@ -5,7 +7,7 @@ allprojects {
maven("https://maven.aliyun.com/repository/public")
maven("https://maven.aliyun.com/repository/gradle-plugin")
maven("https://maven.aliyun.com/repository/google")
maven("https://maven.aliyun.com/repository/jcenter")
maven("https://developer.huawei.com/repo/")
}
}
@@ -23,6 +25,24 @@ subprojects {
project.evaluationDependsOn(":app")
}
// Partial shrinking is needed for the obfuscated one-key-login SDK. UMeng Push
// also runs an intermediate library shrinker with minSdk 14, which is not
// supported by partial shrinking. Let the app module remain the sole release
// shrinker (its minSdk is 24) and skip the redundant library minification.
subprojects {
if (name == "umeng_push_sdk") {
afterEvaluate {
extensions.configure<LibraryExtension> {
buildTypes {
getByName("release") {
isMinifyEnabled = false
}
}
}
}
}
}
// The Gitea U-Verify plugin still targets an older Android Gradle Plugin and
// declares only the manifest package. AGP 8 requires an explicit namespace;
// keep the dependency as a Git package and supply its published namespace here.