This message was deleted.
# community-support
s
This message was deleted.
v
Where to?
m
thats a good question
v
If you cannot answer it, why do you think, the question is Gradle releated? πŸ™‚
m
Not sure what you mean, the question is how/where to add the parameters gradle seems to internally need/want - not sure why it gradle configuration would not be gradle related πŸ˜‰
the message I get is:
> Pass β€˜--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED’ to enable.
Where do I add it to so that Gradle uses it?
v
That is not a message from Gradle, that's the point πŸ™‚
It is a message of something you run with Gradle
m
fair, but it is a message of something run with a Gradle Plugin to be more exact
v
But not of a built-in plugin
This i not general support for all Gradle plugins in the world πŸ™‚
If it is that
asciidoctorGemsPrepare
task, I guess you should ask the asciidoctor gradle plugin developer, or the jruby gradle plugin developer.
m
so the plugins are running in a separate JVM from Gradle itself?
v
Maybe, maybe not.
The plugin itself runs in the same JVM. But it can use the worker api to offload work to other processes and also parallelize. Or it can use
JavaExec
or
Exec
to start separate processes, or even just plain old
ProcessBuilder
.
m
ok, lets rephrase, if we assume it is running inside same JVM - how to I pass args to that6 JVM?
v
m
thanks, did not help, but at least I got to try something πŸ™‚ I am off to read asciidoc-gradle-plugin code
πŸ‘Œ 1
v
As the error (not the warning) starts with "load error: rubygems/security" I more suppose jruby plugin though which asciidoctorplugin uses
But πŸ€·β€β™‚οΈ
m
yeah, I am already on jruby-plugin, as you suggested
πŸ‘Œ 1