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-12-16 22:59:07 +08:00
|
|
|
ext.kotlin_version = '1.6.10'
|
2019-05-22 12:19:27 +08:00
|
|
|
repositories {
|
|
|
|
google()
|
2021-07-10 11:17:21 +08:00
|
|
|
mavenCentral()
|
2021-07-29 17:05:14 +08:00
|
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
2021-06-15 16:35:53 +08:00
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
dependencies {
|
2021-12-09 21:23:06 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:7.0.4'
|
2021-05-07 18:04:06 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2021-07-29 17:05:14 +08:00
|
|
|
classpath 'de.timfreiheit.resourceplaceholders:placeholders:0.4'
|
2021-08-26 23:48:58 +08:00
|
|
|
classpath 'de.undercouch:gradle-download-task:4.1.2'
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
2021-07-10 11:17:21 +08:00
|
|
|
mavenCentral()
|
2021-06-15 16:35:53 +08:00
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
|
|
|
maven { url 'https://jitpack.io' }
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2020-08-05 17:15:15 +08:00
|
|
|
}
|