From b05220635cb6fcbc819b107f0cce4fb95c8c59c0 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Sun, 7 Aug 2022 09:37:21 +1000 Subject: [PATCH] Suppress deprecation on buildRunner detekt is "allowed" to use this internally. --- .../kotlin/io/gitlab/arturbosch/detekt/invoke/DetektInvoker.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/invoke/DetektInvoker.kt b/detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/invoke/DetektInvoker.kt index 3c5f7ce07d5f..919100cb9227 100644 --- a/detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/invoke/DetektInvoker.kt +++ b/detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/invoke/DetektInvoker.kt @@ -61,6 +61,7 @@ abstract class DetektWorkAction : WorkAction { } try { + @Suppress("DEPRECATION") val runner = io.gitlab.arturbosch.detekt.cli.buildRunner( parameters.arguments.get().toTypedArray(), System.out,