-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
42 lines (36 loc) · 1.29 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
41
42
buildscript {
val kotlin_version: String by extra
val gradle_android_version: String by extra
val shadow_version: String by extra
val sqldelight_version: String by extra
repositories {
maven("https://kotlin.bintray.com/kotlinx")
maven("https://dl.bintray.com/jetbrains/kotlin-native-dependencies")
maven("https://dl.bintray.com/kotlin/kotlin-dev")
google()
jcenter()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
classpath("com.android.tools.build:gradle:$gradle_android_version")
classpath("com.github.jengelman.gradle.plugins:shadow:$shadow_version")
classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlin_version")
classpath("com.squareup.sqldelight:gradle-plugin:$sqldelight_version")
}
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
maven("https://dl.bintray.com/kotlin/kotlinx")
maven("https://dl.bintray.com/kotlin/ktor")
maven("https://dl.bintray.com/sargunster/maven")
maven("https://dl.bintray.com/kotlin/squash")
maven("https://dl.bintray.com/kotlin/kotlin-dev")
google()
jcenter()
}
}
tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
}