Skip to content

Commit

Permalink
build: detektのjvmバージョン指定を外す
Browse files Browse the repository at this point in the history
detektの自動判定に委ねる

Signed-off-by: Zenichi Amano <[email protected]>
  • Loading branch information
crow-misia committed Dec 20, 2023
1 parent 39a8acd commit 3982bf2
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -250,20 +250,3 @@ detekt {
autoCorrect = true
config.setFrom(files("$rootDir/config/detekt.yml"))
}

tasks {
withType<io.gitlab.arturbosch.detekt.Detekt>().configureEach {
// Target version of the generated JVM bytecode. It is used for type resolution.
jvmTarget = "11"

reports {
html.required.set(true)
xml.required.set(true)
txt.required.set(true)
sarif.required.set(true)
}
}
withType<io.gitlab.arturbosch.detekt.DetektCreateBaselineTask>().configureEach {
jvmTarget = "11"
}
}

0 comments on commit 3982bf2

Please sign in to comment.