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-24 21:11:48 +08:00
|
|
|
ext.kotlin_version = '1.5.10'
|
2019-05-22 12:19:27 +08:00
|
|
|
repositories {
|
|
|
|
google()
|
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' }
|
|
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
dependencies {
|
2021-05-14 16:23:42 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:4.2.1'
|
2021-05-07 18:04:06 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2021-06-15 16:35:53 +08:00
|
|
|
classpath 'de.timfreiheit.resourceplaceholders:placeholders:0.3'
|
2019-05-22 12:19:27 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
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
|
|
|
}
|