-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
63 lines (58 loc) · 2.1 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
mavenCentral()
maven { url = uri("https://dl.bintray.com/kotlin/ktor") }
maven { url = uri("http://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("http://dl.bintray.com/kotlin/kotlin-dev") }
maven { url = uri("http://dl.bintray.com/kotlin/kotlinx") }
maven { url = uri("https://dl.bintray.com/russhwolf/multiplatform-settings") }
maven { url = uri("https://jitpack.io") }
}
dependencies {
classpath("com.android.tools.build:gradle:${Dep.androidGradleVersion}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Dep.kotlinVersion}")
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url = uri("https://dl.bintray.com/kotlin/ktor") }
maven { url = uri("http://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("http://dl.bintray.com/kotlin/kotlin-dev") }
maven { url = uri("http://dl.bintray.com/kotlin/kotlinx") }
maven { url = uri("https://dl.bintray.com/russhwolf/multiplatform-settings") }
maven { url = uri("https://jitpack.io") }
}
configurations.all {
resolutionStrategy {
force(Dep.kotlinStdlib)
force(Dep.kotlinStdlibJdk8)
force(Dep.kotlinReflect)
force(Dep.core)
force(Dep.appCompat)
force(Dep.annotation)
force(Dep.annotationExperimental)
force(Dep.appCompatResources)
force(Dep.customView)
force(Dep.lifecycle)
force(Dep.lifecycleCommon)
force(Dep.liveData)
force(Dep.viewModel)
force(Dep.loader)
force(Dep.transition)
force(Dep.tracing)
force(Dep.vectorDrawable)
force(Dep.viewPager2)
force(Dep.coroutinesCore)
force(Dep.junit)
}
}
}
task("clean", Delete::class) {
delete(rootProject.buildDir)
}