forked from dotanuki-labs/norris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
49 lines (39 loc) · 1.23 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
import com.vanniktech.android.junit.jacoco.JunitJacocoExtension
import io.gitlab.arturbosch.detekt.detekt
buildscript {
repositories {
google()
jcenter()
maven(url = "https://kotlin.bintray.com/kotlinx")
maven(url = "https://plugins.gradle.org/m2/")
}
dependencies {
classpath(BuildPlugins.Dependencies.androidSupport)
classpath(BuildPlugins.Dependencies.kotlinSupport)
classpath(BuildPlugins.Dependencies.testLogger)
classpath(BuildPlugins.Dependencies.kotlinxSerialization)
classpath(BuildPlugins.Dependencies.ktlint)
classpath(BuildPlugins.Dependencies.jacocoUnified)
classpath(BuildPlugins.Dependencies.sonarCloud)
classpath(BuildPlugins.Dependencies.detekt)
}
}
allprojects {
repositories {
google()
jcenter()
maven(url = "https://kotlin.bintray.com/kotlinx")
}
apply(plugin = BuildPlugins.Ids.detekt)
detekt {
config = files("$rootDir/default-detekt-config.yml")
}
}
tasks.register("clean").configure {
delete("build")
}
apply(plugin = BuildPlugins.Ids.jacocoUnified)
apply(plugin = BuildPlugins.Ids.sonarCloud)
configure<JunitJacocoExtension> {
jacocoVersion = "0.8.4"
}