Skip to content

Commit

Permalink
build: exclude detekt from the kotlin version enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK authored Oct 19, 2023
1 parent 361d729 commit 83478e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies {
}

// Enforce Kotlin version coherence
configurations.all {
configurations.matching { it.name != "detekt" }.all {
resolutionStrategy.eachDependency {
if (requested.group == "org.jetbrains.kotlin" && requested.name.startsWith("kotlin")) {
useVersion(KOTLIN_VERSION)
Expand Down

0 comments on commit 83478e0

Please sign in to comment.