Skip to content

Commit

Permalink
[0.75] RGNP - Remove unnecessary dependency on `gradle-tooling-api-bu…
Browse files Browse the repository at this point in the history
…ilders` - serviceOf failure (#46367)
  • Loading branch information
cortinico authored Sep 11, 2024
1 parent 39222b4 commit 1067798
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -52,14 +51,6 @@ dependencies {
testImplementation(libs.junit)
testImplementation(libs.assertj)
testImplementation(project(":shared-testutil"))

testRuntimeOnly(
files(
serviceOf<ModuleRegistry>()
.getModule("gradle-tooling-api-builders")
.classpath
.asFiles
.first()))
}

// We intentionally don't build for Java 17 as users will see a cryptic bytecode version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -41,14 +40,6 @@ dependencies {

testImplementation(libs.junit)
testImplementation(project(":shared-testutil"))

testRuntimeOnly(
files(
serviceOf<ModuleRegistry>()
.getModule("gradle-tooling-api-builders")
.classpath
.asFiles
.first()))
}

// We intentionally don't build for Java 17 as users will see a cryptic bytecode version
Expand Down

0 comments on commit 1067798

Please sign in to comment.