-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
46 lines (37 loc) · 1.14 KB
/
build.gradle.kts
File metadata and controls
46 lines (37 loc) · 1.14 KB
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
plugins {
id(Plugin.KOTLIN_JVM) version PluginVersion.KOTLIN_VERSION apply false
id(Plugin.DETEKT) version PluginVersion.DETEKT_VERSION
id(Plugin.KTLINT) version PluginVersion.KTLINT_VERSION apply false
}
subprojects {
group = "hs.kr.entrydsm"
version = "0.0.1"
apply(plugin = Plugin.KTLINT)
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
filter {
exclude("**/build/generated/**")
exclude("**/*Grpc*.kt")
exclude("**/*Proto*.kt")
}
}
}
tasks.register("checkAll") {
group = "verification"
description = "모든 모듈(includeBuild 포함)에 대해 check 태스크를 실행합니다"
subprojects.forEach { subproject ->
dependsOn(subproject.tasks.matching { it.name.startsWith("check") })
}
dependsOn(gradle.includedBuilds.map { it.task(":check") })
}
detekt {
config.setFrom(files("detekt.yml"))
buildUponDefaultConfig = false
parallel = true
}
tasks.withType<io.gitlab.arturbosch.detekt.Detekt>().configureEach {
reports {
xml.required.set(false)
txt.required.set(false)
}
jvmTarget = "17"
}