forked from 10miaomiao/bilimiao2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
31 lines (27 loc) · 1008 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
extra.apply {
set("compile_sdk_version", 32)
set("build_tools_version", 32)
set("target_sdk_version", 32)
set("kotlin_version", "1.9.23")
}
repositories {
google()
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots")
maven("https://maven.aliyun.com/repository/public")
maven("https://jitpack.io")
}
val kotlin_version: String by extra
dependencies {
classpath("com.android.tools.build:gradle:8.1.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
classpath("com.google.protobuf:protobuf-gradle-plugin:0.9.4")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
}