Slackbot
08/04/2022, 10:12 PMJason Kolovsky
08/04/2022, 10:25 PMgrossws
08/04/2022, 10:45 PMorg.gradle.jvmargs
(e.g. in project's gradle.properties
), see https://docs.gradle.org/current/userguide/build_environment.htmlJason Kolovsky
08/04/2022, 10:48 PMJason Kolovsky
08/04/2022, 10:49 PMgrossws
08/04/2022, 10:55 PMForkOptions
or subclass accessible as part of the task configuration?Jason Kolovsky
08/04/2022, 10:56 PMgrossws
08/04/2022, 10:59 PMgrossws
08/04/2022, 11:02 PM-Xss...
to the additionalParameters without -J
?Jason Kolovsky
08/04/2022, 11:06 PMscaladoc -Xss64m
which results in
scaladoc error: bad option: '-Xss64m'
if you read scaladoc -help, you would think -J would do it, but if you just normally run
scaladoc -J-Xss64
you get the expected
The Java thread stack size specified is too small. Specify at least 180k
while if you pass this in to additionalParameters, it goes through silently, so it seems like (and from reading the code it makes sense), this -J-Xss won't do anything for scaladoc in the gradle caseJason Kolovsky
08/04/2022, 11:08 PMgrossws
08/04/2022, 11:20 PMJason Kolovsky
08/04/2022, 11:21 PM