Created
May 4, 2016 01:36
-
-
Save claytantor/dfd37af28d862e0c0f3490a36d070175 to your computer and use it in GitHub Desktop.
passing vars to the boot run in gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bootRun { | |
addResources = false | |
//pass command line args | |
if ( project.hasProperty('jvmArgs') ) { | |
jvmArgs project.jvmArgs.split('\\s+') | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment