-
Notifications
You must be signed in to change notification settings - Fork 48
/
build.gradle.kts
38 lines (31 loc) · 1021 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
29
30
31
32
33
34
35
36
37
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories { mavenCentral() }
}
subprojects {
apply(from = "${rootProject.rootDir}/spotless.gradle.kts")
}
allprojects {
apply(plugin = "com.github.ben-manes.versions")
configurations.all {
resolutionStrategy.eachDependency {
if (requested.group == "org.jetbrains.kotlin" && requested.name == "kotlin-reflect") {
useVersion(versions.kotlin.core)
}
}
}
repositories {
google()
jcenter()
mavenCentral()
maven(url = "https://oss.sonatype.org/content/repositories/snapshots")
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven(url = "https://jitpack.io")
maven(url = "https://repo.repsy.io/mvn/chrynan/public")
maven {
url = uri("http://dl.bintray.com/amulyakhare/maven")
isAllowInsecureProtocol = true
}
}
}
tasks.register("clean", Delete::class) { delete(rootProject.buildDir) }