Skip to content

Commit

Permalink
Update Detekt monorepo from 1.21.0-RC1 to 1.21.0 (patch) (#112)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Róbert Papp (TWiStErRob) <papp.robert.s@gmail.com>
  • Loading branch information
renovate[bot] and TWiStErRob committed Jul 16, 2022
1 parent cf1caa9 commit 8c82424
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ androidx-test = "1.4.0"
# Changelog: https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md
kotlin = "1.7.10"

detekt = "1.21.0-RC1"
detekt = "1.21.0"

dagger = "2.42"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ internal fun Project.commonJavaConfig() {
}
plugins.apply("io.gitlab.arturbosch.detekt")
plugins.withId("io.gitlab.arturbosch.detekt") {
val detekt = this@commonJavaConfig.extensions.getByName<DetektExtension>("detekt")
val project = this@commonJavaConfig
val detekt = project.extensions.getByName<DetektExtension>("detekt")
detekt.apply {
ignoreFailures = true
// TODEL https://github.com/detekt/detekt/issues/4926
Expand Down Expand Up @@ -82,7 +83,7 @@ internal fun Project.commonJavaConfig() {
tasks.withType<Detekt> {
detektReportMergeXml.configure {
mustRunAfter(this@withType)
input.from(this@withType.xmlReportFile)
input.from(this@withType.xmlReportFile)
}
}
}
Expand Down

0 comments on commit 8c82424

Please sign in to comment.