Skip to content

Commit

Permalink
Fix detekt errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AudunSorheim committed Jun 27, 2024
1 parent 338d163 commit 36794ae
Show file tree
Hide file tree
Showing 15 changed files with 863 additions and 43 deletions.
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ val hikariVersion = "5.1.0"
val logstashLogbackEncoderVersion = "7.4"
val owaspVersion = "20240325.1"
val apacheCommonsTextVersion = "1.12.0"
val detektVersion = "1.23.6"

dependencies {
implementation("org.springframework.boot:spring-boot-starter")
Expand Down Expand Up @@ -74,6 +75,7 @@ dependencies {
testImplementation("com.h2database:h2")
testImplementation("org.wiremock:wiremock-standalone:$wiremockVersion")
testImplementation("io.kotest.extensions:kotest-extensions-wiremock:$wiremockKotestExtensionVersion")
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:$detektVersion")
}

tasks.withType<KotlinCompile> {
Expand All @@ -86,3 +88,8 @@ tasks.withType<KotlinCompile> {
tasks.withType<Test> {
useJUnitPlatform()
}

detekt {
config.from("detekt-config.yml")
buildUponDefaultConfig = true
}
Loading

0 comments on commit 36794ae

Please sign in to comment.