Skip to content

Instantly share code, notes, and snippets.

@claytantor
Created May 4, 2016 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claytantor/dfd37af28d862e0c0f3490a36d070175 to your computer and use it in GitHub Desktop.
Save claytantor/dfd37af28d862e0c0f3490a36d070175 to your computer and use it in GitHub Desktop.
passing vars to the boot run in gradle
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