aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2024-12-03 20:42:36 -0700
committerJason Penilla <[email protected]>2024-12-03 20:42:36 -0700
commite5bf173f6aa32b9297343870ad2eec6ab4ed073d (patch)
treeed31b4681d80b31d3ce6b3877fa08d6b5c9312ac
parentef0670c2b7677379a2d7214bab6d30f70e253190 (diff)
downloadPaper-e5bf173f6aa32b9297343870ad2eec6ab4ed073d.tar.gz
Paper-e5bf173f6aa32b9297343870ad2eec6ab4ed073d.zip
Always fork jvm for compile, even when using the Gradle runtime jvm
Fixes spurious build failures from OOM
-rw-r--r--build.gradle.kts1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 5a4365e162..930326a321 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -31,6 +31,7 @@ subprojects {
tasks.withType<JavaCompile> {
options.encoding = Charsets.UTF_8.name()
options.release = 21
+ options.isFork = true
}
tasks.withType<Javadoc> {
options.encoding = Charsets.UTF_8.name()