diff --git a/build.gradle b/build.gradle index 3f284d4..ce26d55 100644 --- a/build.gradle +++ b/build.gradle @@ -1,19 +1,27 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. + + buildscript { repositories { + maven { url 'https://maven.aliyun.com/repository/google' } + maven{ url 'https://maven.aliyun.com/repository/jcenter'} google() - jcenter() mavenCentral() - maven { url 'https://repo1.maven.org/maven2/' } + maven {url 'https://dl.google.com/dl/android/maven2/'} } dependencies { + //noinspection AndroidGradlePluginVersion classpath 'com.android.tools.build:gradle:7.2.0' -// classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5" - classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0' - classpath 'com.google.gms:google-services:4.3.14' - classpath 'com.google.firebase:perf-plugin:1.4.2' - classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2' + //Do n't Update + classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0' + + //noinspection GradleDependency + classpath 'com.google.gms:google-services:4.3.14' + //noinspection GradleDependency + classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2' +// classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5" + classpath 'com.google.firebase:perf-plugin:1.4.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -23,12 +31,14 @@ buildscript { allprojects { repositories { + maven { url 'https://maven.aliyun.com/repository/google' } + maven{ url 'https://maven.aliyun.com/repository/jcenter'} google() - jcenter() + mavenCentral() maven { url "https://jitpack.io" } - maven { url 'https://repo1.maven.org/maven2/' } + maven {url 'https://dl.google.com/dl/android/maven2/'} } }