nebula-plugins/nebula-clojure-plugin

Java System Properties

Opened this issue · 3 comments

Could you give an example on how to send a Java system property to the tasks clojureRun and clojureTest? I have been trying for an hour and I cannot figure it out.

Thanks.

chali commented

Hi @emacadie, it looks like both tasks have this property jvmOptions so that's how you could get your system property in. I would try this:

tasks.clojureRun. jvmOptions = "-DmyProperty=myValue"

Thanks for the response, but that did not work.

It would be great if you could provide a build.gradle for the plugin with all the options in it.

chali commented

Hi, @emacadie that is unfortunately only quick idea I wanted to suggest. We are currently occupied by other priorities so I cannot spend more time on this investigation. I will be happy to accept any PR with an improved description if you discover how to achieve what you need.