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.
21 lines
641 B
Groovy
21 lines
641 B
Groovy
6 months ago
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||
|
buildscript {
|
||
|
ext.kotlin_version = "1.6.0" // 使用适合你项目的Kotlin版本
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
dependencies {
|
||
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||
|
// 其他依赖...
|
||
|
}
|
||
|
}
|
||
|
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.6.0' apply false
|
||
|
}
|
||
|
|
||
|
task clean(type: Delete) {
|
||
|
delete rootProject.buildDir
|
||
|
}
|