Files
fuzhu/build.gradle

32 lines
833 B
Groovy
Raw Normal View History

2021-09-22 10:02:44 +08:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// 非常重要根目录的build.gradle头部加入自定义gradle相当于layout布局中include
apply from : "app_config.gradle"
buildscript {
2021-09-30 18:07:01 +08:00
ext.kotlin_version = '1.3.72'
2021-09-22 10:02:44 +08:00
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
2021-09-30 18:07:01 +08:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
2021-09-22 10:02:44 +08:00
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}