Skip to content

Commit

Permalink
Set strict dependency on tested Kotlin compiler version (#4822)
Browse files Browse the repository at this point in the history
This effectively pins the Kotlin compiler version used by detekt-cli,
minimising the chance of it being overridden and causing issues such as
#4786
  • Loading branch information
3flex committed Jun 15, 2022
1 parent 195d15a commit e8e1f35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions detekt-cli/build.gradle.kts
Expand Up @@ -16,6 +16,11 @@ dependencies {
implementation(libs.jcommander)
implementation(projects.detektTooling)
implementation(projects.detektParser)
implementation(libs.kotlin.compilerEmbeddable) {
version {
strictly(libs.versions.kotlin.get())
}
}
runtimeOnly(projects.detektCore)
runtimeOnly(projects.detektRules)

Expand Down

0 comments on commit e8e1f35

Please sign in to comment.