We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b3cfd6 commit 507d752Copy full SHA for 507d752
buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/BuildPlugin.groovy
@@ -414,8 +414,11 @@ class BuildPlugin implements Plugin<Project> {
414
415
Test integrationTest = project.tasks.create('integrationTest', RestTestRunnerTask.class)
416
integrationTest.dependsOn(itestJar)
417
- integrationTest.doFirst {
418
- integrationTest.systemProperty("es.hadoop.job.jar", itestJar.getArchiveFile().get().asFile.absolutePath)
+
+ itestJar.configure { Jar jar ->
419
+ integrationTest.doFirst {
420
+ integrationTest.systemProperty("es.hadoop.job.jar", jar.getArchiveFile().get().asFile.absolutePath)
421
+ }
422
}
423
424
integrationTest.testClassesDirs = project.sourceSets.itest.output.classesDirs
0 commit comments