Skip to content

Commit

Permalink
update detekt 1.23.6
Browse files Browse the repository at this point in the history
  • Loading branch information
kozjan committed Sep 13, 2024
1 parent a9af3bb commit b875832
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plugins {
id 'org.jetbrains.kotlin.plugin.allopen' version '1.9.23'
id "org.jlleitschuh.gradle.ktlint" version "10.2.1"
id "org.jlleitschuh.gradle.ktlint-idea" version "10.2.0"
id "io.gitlab.arturbosch.detekt" version "1.18.0"
id "io.gitlab.arturbosch.detekt" version "1.23.6"
id 'io.github.gradle-nexus.publish-plugin' version '1.0.0'
id 'org.springframework.boot' version '3.3.2' apply false
}
Expand Down Expand Up @@ -66,6 +66,13 @@ allprojects {
}
}

configurations.matching { it.name == "detekt" }.all {
resolutionStrategy.eachDependency {
if (requested.group == "org.jetbrains.kotlin") {
useVersion(io.gitlab.arturbosch.detekt.getSupportedKotlinVersion())
}
}
}

nexusPublishing {
repositories {
Expand Down Expand Up @@ -177,7 +184,7 @@ subprojects {
}

detekt {
toolVersion = "1.18.0"
toolVersion = "1.23.6"
input = files("src/main/kotlin", "src/test/kotlin")
config = files("$rootDir/config/detekt/detekt.yml")
buildUponDefaultConfig = true
Expand Down

0 comments on commit b875832

Please sign in to comment.