-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathbuild.gradle.kts
28 lines (25 loc) · 913 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
buildscript {
repositories {
maven { setUrl("https://repo.huaweicloud.com/repository/maven/") }
mavenCentral()
google()
}
dependencies {
classpath("com.android.tools.build:gradle:${property("ANDROID_BUILD_GRADLE")}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${property("KOTLIN")}")
classpath("org.jetbrains.kotlin:kotlin-serialization:${property("KOTLIN")}")
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:${property("ANDROIDX_NAVIGATION")}")
classpath("io.github.panpf.maven-publish:maven-publish-gradle-plugin:${property("MAVEN_PUBLISH")}")
}
}
allprojects {
repositories {
maven { setUrl("https://repo.huaweicloud.com/repository/maven/") }
mavenCentral()
google()
mavenLocal()
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}