Flutter is configured with Ali Cloud Library, which can update gradle normally, but can only modify the build.gradle in each package one by one because of the dependency package?

the build.gradle in the flutter project is configured with Aliyun"s maven library. You can update the gradle normally, as follows:

buildscript {

    repositories {
        maven{ url "https://maven.aliyun.com/repository/google" }
        maven{ url "https://maven.aliyun.com/repository/jcenter" }
        maven{ url "https://maven.aliyun.com/repository/public"}
    }

    dependencies {
        classpath "com.android.tools.build:gradle:3.2.1"

    }
}

allprojects {
    repositories {
        maven{ url "https://maven.aliyun.com/repository/google" }
        maven{ url "https://maven.aliyun.com/repository/jcenter" }
        maven{ url "https://maven.aliyun.com/repository/public"}
    }
}

but there are some package that need to update gradle, but instead of this setting, do you have to modify the build,gradle in package one by one? Or is my setting wrong?

Jun.30,2022
Menu