优化细节

This commit is contained in:
Jenly
2021-09-18 11:36:56 +08:00
parent 31ba30b112
commit 70ad135e63
4 changed files with 17 additions and 9 deletions

View File

@@ -1,9 +1,14 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: 'versions.gradle'
addRepos(repositories)
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$versions.gralde"
@@ -16,7 +21,11 @@ buildscript {
}
allprojects {
addRepos(repositories)
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
}
}
task clean(type: Delete) {