forked from panpf/sketch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
29 lines (26 loc) · 1.01 KB
/
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
maven { setUrl("https://dl.google.com/dl/android/maven2/") }
maven { setUrl("https://mirrors.huaweicloud.com/repository/maven/") } // Huawei Maven mirrors
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:${property("ANDROID_BUILD_VERSION")}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${property("KOTLIN_VERSION")}")
classpath("com.novoda:bintray-release:${property("BINTRAY_RELEASE_VERSION")}")
}
}
allprojects {
repositories {
google()
maven { setUrl("https://dl.google.com/dl/android/maven2/") }
maven { setUrl("https://mirrors.huaweicloud.com/repository/maven/") } // Huawei Maven mirrors
maven { setUrl("https://dl.bintray.com/panpf/maven") }
jcenter()
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}