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 c8b1f17Copy full SHA for c8b1f17
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java
@@ -182,7 +182,12 @@ 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.environment("es.entitlement.testOnlyPath", new Object() {
186
+ @Override
187
+ public String toString() {
188
+ return testOnlyFiles.getAsPath();
189
+ }
190
+ });
191
}
192
193
test.systemProperties(getProviderFactory().systemPropertiesPrefixedBy("tests.").get());
0 commit comments