Skip to content

Commit 310ffda

Browse files
committed
add kotlin code scanner io.gitlab.arturbosch.detekt. run with ./gradlew detekt
1 parent 112a640 commit 310ffda

File tree

2 files changed

+789
-0
lines changed

2 files changed

+789
-0
lines changed

build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ plugins {
88
id("org.jetbrains.compose")
99
id("com.github.gmazzo.buildconfig") version "5.3.5"
1010
id("org.ajoberstar.grgit") version "5.2.1"
11+
id("io.gitlab.arturbosch.detekt") version("1.23.3")
1112
}
1213

1314
group = "com.zoffcc.applications.trifa_material"
@@ -20,6 +21,10 @@ repositories {
2021
google()
2122
}
2223

24+
detekt {
25+
config.setFrom(file("config/detekt/detekt.yml"))
26+
}
27+
2328
buildConfig {
2429
buildConfigField("String", "APP_NAME", "\"${project.name}\"")
2530
buildConfigField("String", "APP_VERSION", provider { "\"${project.version}\"" })

0 commit comments

Comments
 (0)