Always fork jvm for compile, even when using the Gradle runtime jvm

Fixes spurious build failures from OOM
This commit is contained in:
Jason Penilla 2024-12-03 20:42:36 -07:00
parent ef0670c2b7
commit e5bf173f6a
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8

View file

@ -31,6 +31,7 @@ subprojects {
tasks.withType<JavaCompile> { tasks.withType<JavaCompile> {
options.encoding = Charsets.UTF_8.name() options.encoding = Charsets.UTF_8.name()
options.release = 21 options.release = 21
options.isFork = true
} }
tasks.withType<Javadoc> { tasks.withType<Javadoc> {
options.encoding = Charsets.UTF_8.name() options.encoding = Charsets.UTF_8.name()