Skip to content

Apache Lucene open-source search software

LUCENE-10226: test target creates a weird folder (lazy property).

Dawid Weiss263765a9b0c2
diff --git a/gradle/testing/defaults-tests.gradle b/gradle/testing/defaults-tests.gradle
index 4d36a67c670..a6d59eee390 100644
--- a/gradle/testing/defaults-tests.gradle
+++ b/gradle/testing/defaults-tests.gradle
@@ -90,7 +90,7 @@ allprojects {
tasks.withType(Test) {
ext {
- testOutputsDir = file("${reports.junitXml.outputLocation}/outputs")
+ testOutputsDir = file("${reports.junitXml.outputLocation.get()}/outputs")
}
// LUCENE-9660: Make it possible to always rerun tests, even if they're incrementally up-to-date.