-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
41 lines (35 loc) · 1.38 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
30
31
32
33
34
35
36
37
38
39
40
buildscript {
repositories {
mavenCentral()
maven { setUrl("https://mvn.mob.com/android") }
maven { setUrl("https://maven.aliyun.com/nexus/content/repositories/google") }
maven { setUrl("https://jitpack.io") }
maven { setUrl("https://repo1.maven.org/maven2/") }
maven { setUrl("https://maven.aliyun.com/repository/public/") }
maven { setUrl("https://maven.aliyun.com/nexus/content/repositories/jcenter") }
google()
}
dependencies {
classpath("com.android.tools.build:gradle:${KotlinConstants.gradle_version}")
classpath("com.github.dcendents:android-maven-gradle-plugin:2.1")
classpath("com.novoda:bintray-release:0.9.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${KotlinConstants.kotlin_version}")
}
}
allprojects {
repositories {
mavenCentral()
maven { setUrl("https://mvn.mob.com/android") }
maven { setUrl("https://maven.aliyun.com/nexus/content/repositories/google") }
maven { setUrl("https://jitpack.io") }
maven { setUrl("https://repo1.maven.org/maven2/") }
maven { setUrl("https://maven.aliyun.com/repository/public/") }
maven { setUrl("https://maven.aliyun.com/nexus/content/repositories/jcenter") }
google()
}
}
tasks {
val clean by registering(Delete::class) {
delete(buildDir)
}
}