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-12-08 11:36:25 +08:00
|
|
|
ext.kotlin_version = '1.4.21'
|
2019-05-22 12:19:27 +08:00
|
|
|
repositories {
|
|
|
|
google()
|
2020-08-06 08:26:08 +08:00
|
|
|
jcenter()
|
2020-08-21 09:49:37 +08:00
|
|
|
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
|
|
|
|
maven { url 'https://s3.amazonaws.com/fabric-artifacts/public' }
|
2020-08-05 17:15:15 +08:00
|
|
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
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-11-13 14:09:20 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:4.1.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'
|
2020-10-10 08:43:56 +08:00
|
|
|
classpath 'com.google.gms:google-services:4.3.4'
|
2020-11-19 20:35:11 +08:00
|
|
|
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2020-08-06 08:26:08 +08:00
|
|
|
jcenter()
|
2020-08-21 09:49:37 +08:00
|
|
|
maven { url 'https://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
|
|
|
}
|