generated from yahyatinani/jetpack-compose-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
33 lines (32 loc) · 831 Bytes
/
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
plugins {
alias deps.plugins.spotless
alias deps.plugins.kotlinx.kover
}
spotless {
groovyGradle {
target "**/*.gradle"
trimTrailingWhitespace()
endWithNewline()
greclipse().configFile('./greclipse.properties')
}
kotlin {
target "**/*.kt"
targetExclude "buildSrc/build/"
ktlint()
.editorConfigOverride([
"indent_size" : "2",
"max_line_length" : "80",
"indent_style" : "space",
"charset" : "utf-8",
"end_of_line" : "lf",
"disabled_rules" : "filename,enum-entry-name-case,annotation",
"trim_trailing_whitespace": "true",
"insert_final_newline" : "true",
])
trimTrailingWhitespace()
endWithNewline()
}
kotlinGradle {
ktlint()
}
}