From e5bf173f6aa32b9297343870ad2eec6ab4ed073d Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:42:36 -0700 Subject: [PATCH] Always fork jvm for compile, even when using the Gradle runtime jvm Fixes spurious build failures from OOM --- build.gradle.kts | 1 + 1 file changed, 1 insertion(+) 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 { options.encoding = Charsets.UTF_8.name() options.release = 21 + options.isFork = true } tasks.withType { options.encoding = Charsets.UTF_8.name()