mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-15 18:13:57 +00:00
32 lines
930 B
Groovy
32 lines
930 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://repo1.maven.org/maven2/' }
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.2.2'
|
|
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://repo1.maven.org/maven2/' }
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|