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 e9093d3 commit b2bbf94Copy full SHA for b2bbf94
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java
@@ -182,7 +182,7 @@ public void execute(Task t) {
182
FileCollection mainRuntime = mainSourceSet.getRuntimeClasspath();
183
FileCollection testRuntime = testSourceSet.getRuntimeClasspath();
184
FileCollection testOnlyFiles = testRuntime.minus(mainRuntime);
185
- test.environment("es.entitlement.testOnlyPath", project.provider(testOnlyFiles::getAsPath));
+ test.doFirst(task -> test.environment("es.entitlement.testOnlyPath", testOnlyFiles.getAsPath()));
186
}
187
188
test.systemProperties(getProviderFactory().systemPropertiesPrefixedBy("tests.").get());
0 commit comments