From 717d2a84f50c694e6b01e1aea89fda3f75511732 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Sat, 9 Jul 2022 14:33:27 +1000 Subject: [PATCH] Drop redundant workaround This workaround is no longer required as of Kotlin 1.6.20. --- detekt-gradle-plugin/build.gradle.kts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/detekt-gradle-plugin/build.gradle.kts b/detekt-gradle-plugin/build.gradle.kts index 756acaae382..4d3d04b9aa0 100644 --- a/detekt-gradle-plugin/build.gradle.kts +++ b/detekt-gradle-plugin/build.gradle.kts @@ -1,6 +1,3 @@ -import org.gradle.api.internal.classpath.ModuleRegistry -import org.gradle.kotlin.dsl.support.serviceOf - plugins { id("module") `java-gradle-plugin` @@ -34,17 +31,6 @@ testing { implementation(libs.assertj) implementation(libs.kotlin.gradle) implementation(gradleKotlinDsl()) - - // See https://github.com/gradle/gradle/issues/16774#issuecomment-853407822 - runtimeOnly( - files( - serviceOf() - .getModule("gradle-tooling-api-builders") - .classpath - .asFiles - .first() - ) - ) } } register("functionalTest", JvmTestSuite::class) {