You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
940 B
Groovy
32 lines
940 B
Groovy
// 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()
|
|
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
|
|
maven { url 'https://dl.bintray.com/umsdk/release' }
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.1.3'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath 'com.chenenyu:img-optimizer:1.2.0' //图片压缩
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
|
|
maven { url 'https://dl.bintray.com/umsdk/release' }
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|