-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (48 loc) · 1.1 KB
/
build.gradle
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
plugins {
alias(deps.plugins.kotest) apply false
alias(deps.plugins.spotless)
alias(deps.plugins.kotlinx.kover)
alias(deps.plugins.kotlinx.serialization) apply false
}
apply plugin: 'kotlinx-atomicfu'
dependencies {
kover(project(":y-core"))
kover(project(":y-concurrency"))
}
spotless {
groovyGradle {
target "**/*.gradle"
trimTrailingWhitespace()
endWithNewline()
greclipse().configFile('./greclipse.properties')
}
kotlin {
target "**/*.kt"
targetExclude "buildSrc/build/"
ktlint(deps.versions.ktlint.get()).editorConfigOverride([
"indent_size" : "2",
"max_line_length" : "80",
"indent_style" : "space",
"charset" : "utf-8",
"end_of_line" : "lf",
"ktlint_standard_filename": "disabled",
"trim_trailing_whitespace": "true",
"insert_final_newline" : "true",
])
trimTrailingWhitespace()
endWithNewline()
}
kotlinGradle {
ktlint()
}
}
koverReport {
defaults {
xml {
onCheck = true
}
html {
onCheck = true
}
}
}