Skip to content

Commit

Permalink
Re-enable warnings as errors for detekt-gradle-plugin (#5155)
Browse files Browse the repository at this point in the history
Fixes #5037
  • Loading branch information
3flex committed Aug 1, 2022
1 parent 62bc478 commit 5aa1dd6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
@@ -1,3 +1,5 @@
@file:Suppress("DEPRECATION")

package io.gitlab.arturbosch.detekt.internal

import com.android.build.gradle.AppExtension
Expand Down
@@ -1,3 +1,5 @@
@file:Suppress("DEPRECATION")

package io.gitlab.arturbosch.detekt.internal

import io.gitlab.arturbosch.detekt.DetektPlugin
Expand Down
Expand Up @@ -12,6 +12,7 @@ internal fun Project.registerDetektTask(
configuration: Detekt.() -> Unit
): TaskProvider<Detekt> =
tasks.register(name, Detekt::class.java) {
@Suppress("DEPRECATION")
with(extension.reports) {
if (xml.outputLocation.isPresent) {
logger.warn(
Expand Down

0 comments on commit 5aa1dd6

Please sign in to comment.