Skip to content

Commit

Permalink
Remove more project references during execution time
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Dec 23, 2024
1 parent f995702 commit c3c59a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/discovery-gce/qa/gce/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ restResources {

/** A task to start the GCEFixture which emulates a GCE service **/
def gceFixtureProvider = tasks.register("gceFixture", AntFixture) {
dependsOn project.sourceSets.yamlRestTest.runtimeClasspath
env 'CLASSPATH', "${-> project.sourceSets.yamlRestTest.runtimeClasspath.asPath}"
def runtimeClasspath = project.sourceSets.yamlRestTest.runtimeClasspath
dependsOn runtimeClasspath
env 'CLASSPATH', "${-> runtimeClasspath.asPath}"
executable = "${buildParams.runtimeJavaHome.get()}/bin/java"
args 'org.elasticsearch.cloud.gce.GCEFixture', baseDir, "${buildDir}/testclusters/yamlRestTest-1/config/unicast_hosts.txt"
}
Expand Down

0 comments on commit c3c59a1

Please sign in to comment.