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 b34e112 commit 152ee2eCopy full SHA for 152ee2e
buildSrc/src/main/groovy/org/elasticsearch/hadoop/gradle/BuildPlugin.groovy
@@ -428,8 +428,11 @@ class BuildPlugin implements Plugin<Project> {
428
429
Test integrationTest = project.tasks.create('integrationTest', RestTestRunnerTask.class)
430
integrationTest.dependsOn(itestJar)
431
- integrationTest.doFirst {
432
- integrationTest.systemProperty("es.hadoop.job.jar", itestJar.getArchiveFile().get().asFile.absolutePath)
+
+ itestJar.configure { Jar jar ->
433
+ integrationTest.doFirst {
434
+ integrationTest.systemProperty("es.hadoop.job.jar", jar.getArchiveFile().get().asFile.absolutePath)
435
+ }
436
}
437
438
integrationTest.testClassesDirs = project.sourceSets.itest.output.classesDirs
0 commit comments