29 lines
904 B
Groovy
29 lines
904 B
Groovy
buildscript {
|
|
ext.kotlin_version = '1.9.0'
|
|
dependencies {
|
|
// 增加Android Gradle插件版本号配置
|
|
classpath 'com.android.tools.build:gradle:7.2.2'
|
|
}
|
|
// repositories {
|
|
// google()
|
|
// mavenCentral()
|
|
// }
|
|
// dependencies {
|
|
// classpath "com.android.tools.build:gradle:7.0.0"
|
|
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20"
|
|
//
|
|
// // NOTE: Do not place your application dependencies here; they belong
|
|
// // in the individual module build.gradle files
|
|
// }
|
|
}
|
|
plugins {
|
|
id 'com.android.application' version '7.2.2' apply false
|
|
id 'com.android.library' version '7.2.2' apply false
|
|
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
|
|
id 'org.jetbrains.kotlin.jvm' version '1.8.20' apply false
|
|
}
|
|
apply from: 'config.gradle'
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |