2021-02-10 06:38:05 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
ext.kotlin_version = '1.4.30'
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2021-02-12 10:34:05 +00:00
|
|
|
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
|
2021-02-10 06:38:05 +00:00
|
|
|
maven { url 'https://dl.bintray.com/umsdk/release' }
|
2021-02-12 10:34:05 +00:00
|
|
|
maven { url "https://jitpack.io" }
|
2021-02-10 06:38:05 +00:00
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.android.tools.build:gradle:4.1.2'
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2021-02-12 11:51:21 +00:00
|
|
|
classpath 'com.chenenyu:img-optimizer:1.2.0' //图片压缩
|
2021-02-10 06:38:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2021-02-12 10:34:05 +00:00
|
|
|
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
|
2021-02-10 06:38:05 +00:00
|
|
|
maven { url 'https://dl.bintray.com/umsdk/release' }
|
2021-02-12 10:34:05 +00:00
|
|
|
maven { url "https://jitpack.io" }
|
2021-02-10 06:38:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|