Skip to content

Apache Lucene open-source search software

LUCENE-10370: recreate temporary location in case it's wiped by a clean.

Dawid Weiss5b92002fed3c
diff --git a/gradle/java/modules.gradle b/gradle/java/modules.gradle
index 164b2a431e8..768bf1a4635 100644
--- a/gradle/java/modules.gradle
+++ b/gradle/java/modules.gradle
@@ -212,6 +212,8 @@ allprojects {
throw new RuntimeException("LF in forked jvm property?: " + s)
}
})
+
+ Files.createDirectories(forkProperties.toPath().getParent())
Files.writeString(forkProperties.toPath(), String.join("\n", args), StandardCharsets.UTF_8)
}
}