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-05-06 08:40:39 +08:00
|
|
|
ext.kotlin_version = '1.5.0'
|
2019-05-22 12:19:27 +08:00
|
|
|
repositories {
|
|
|
|
google()
|
2021-05-07 15:59:44 +08:00
|
|
|
maven { url 'https://maven.aliyun.com/repository/public/'}
|
2021-01-04 09:23:33 +08:00
|
|
|
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-05-06 08:40:39 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:4.2.0'
|
2021-05-12 09:21:12 +08:00
|
|
|
//noinspection DifferentKotlinGradleVersion
|
2021-05-07 18:04:06 +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-05-12 09:21:12 +08:00
|
|
|
maven { url 'https://maven.aliyun.com/repository/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/" }
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2020-08-05 17:15:15 +08:00
|
|
|
}
|