Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java System Properties #14

Open
emacadie opened this issue Sep 12, 2018 · 3 comments
Open

Java System Properties #14

emacadie opened this issue Sep 12, 2018 · 3 comments

Comments

@emacadie
Copy link

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
Copy link
Member

chali commented Sep 12, 2018

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"

@emacadie
Copy link
Author

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
Copy link
Member

chali commented Sep 14, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants