2019-05-22 12:19:27 +08:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2020-04-18 11:26:42 +08:00
|
|
|
ext.kotlin_version = '1.3.72'
|
2019-05-22 12:19:27 +08:00
|
|
|
repositories {
|
|
|
|
google()
|
2020-04-18 11:26:42 +08:00
|
|
|
//jcenter()
|
2020-04-20 20:17:26 +08:00
|
|
|
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
|
2020-08-05 17:15:15 +08:00
|
|
|
maven { url 'http://s3.amazonaws.com/fabric-artifacts/public' }
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
2019-06-11 22:00:39 +08:00
|
|
|
maven { url 'https://maven.fabric.io/public' }
|
2019-09-09 22:19:00 +08:00
|
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
dependencies {
|
2020-07-17 21:51:54 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:4.0.1'
|
2019-05-22 12:19:27 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2019-09-09 22:19:00 +08:00
|
|
|
classpath 'de.timfreiheit.resourceplaceholders:placeholders:0.3'
|
2019-11-20 19:18:13 +08:00
|
|
|
classpath 'com.google.gms:google-services:4.3.3'
|
2020-03-04 14:12:15 +08:00
|
|
|
classpath 'io.fabric.tools:gradle:1.31.2'
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2020-04-18 11:26:42 +08:00
|
|
|
//jcenter()
|
2020-04-20 20:17:26 +08:00
|
|
|
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
|
2019-06-11 22:00:39 +08:00
|
|
|
maven { url "https://jitpack.io" }
|
2020-02-12 12:12:29 +08:00
|
|
|
maven { url 'https://maven.google.com/' }
|
|
|
|
maven { url 'https://github.com/psiegman/mvn-repo/raw/master/releases' }
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2020-08-05 17:15:15 +08:00
|
|
|
}
|