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 {
|
2021-03-31 21:48:35 +08:00
|
|
|
ext.kotlin_version = '1.4.32'
|
2019-05-22 12:19:27 +08:00
|
|
|
repositories {
|
|
|
|
google()
|
2021-01-04 09:23:33 +08:00
|
|
|
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
|
|
|
|
maven { url "https://s3.amazonaws.com/fabric-artifacts/public" }
|
|
|
|
maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
|
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
dependencies {
|
2021-03-19 10:54:14 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:4.1.3'
|
2019-05-22 12:19:27 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2021-01-04 09:23:33 +08:00
|
|
|
classpath "de.timfreiheit.resourceplaceholders:placeholders:0.3"
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2021-01-04 09:23:33 +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" }
|
2021-01-04 09:23:33 +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
|
|
|
}
|