init
This commit is contained in:
57
build.gradle
Normal file
57
build.gradle
Normal file
@@ -0,0 +1,57 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
|
||||
repositories {
|
||||
//google()
|
||||
//mavenCentral()
|
||||
//maven {url 'https://maven.aliyun.com/repository/public/'}
|
||||
//maven {url 'https://maven.aliyun.com/repository/google/'}
|
||||
google()
|
||||
jcenter()
|
||||
maven { url 'https://repo1.maven.org/maven2/' }
|
||||
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.6.3'
|
||||
// classpath 'com.android.tools.build:gradle:3.4.0'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
/*google()
|
||||
mavenCentral()
|
||||
jcenter() // Warning: this repository is going to shut down soon
|
||||
maven { url "https://jitpack.io" }*/
|
||||
//maven {url 'https://maven.aliyun.com/repository/public/'}
|
||||
//maven {url 'https://maven.aliyun.com/repository/google/'}
|
||||
//maven { url 'https://jitpack.io' }
|
||||
//maven { url "https://dl.google.com/dl/android/maven2/"}
|
||||
google()
|
||||
jcenter()
|
||||
maven { url 'https://repo1.maven.org/maven2/' }
|
||||
maven { url 'https://jitpack.io' }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
subprojects {
|
||||
repositories {
|
||||
google()
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
ext.androidTargetSdk = 30
|
||||
ext.zxingCore = 'com.google.zxing:core:3.4.1'
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
Reference in New Issue
Block a user