From 069d8fc2495b63a233cb30712e888f29a185098c Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Mon, 7 Oct 2024 15:00:18 +0100 Subject: [PATCH] RGNP - Remove unnecessary dependency on gradle-tooling-api-builders - serviceOf failure --- packages/react-native-gradle-plugin/build.gradle.kts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/react-native-gradle-plugin/build.gradle.kts b/packages/react-native-gradle-plugin/build.gradle.kts index 9346508f497062..dfb97e03e09968 100644 --- a/packages/react-native-gradle-plugin/build.gradle.kts +++ b/packages/react-native-gradle-plugin/build.gradle.kts @@ -7,7 +7,6 @@ import org.gradle.api.internal.classpath.ModuleRegistry import org.gradle.api.tasks.testing.logging.TestExceptionFormat -import org.gradle.configurationcache.extensions.serviceOf import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { @@ -48,14 +47,6 @@ dependencies { implementation(libs.javapoet) testImplementation(libs.junit) - - testRuntimeOnly( - files( - serviceOf() - .getModule("gradle-tooling-api-builders") - .classpath - .asFiles - .first())) } // We intentionally don't build for Java 17 as users will see a cryptic bytecode version