Gradle option to pass command line arguments to Java application
This commit is contained in:
parent
a44034a79e
commit
afe18ea5ac
@ -36,6 +36,12 @@ jar {
|
||||
}
|
||||
}
|
||||
|
||||
run {
|
||||
if (project.hasProperty("appArgs")) {
|
||||
args Eval.me(appArgs)
|
||||
}
|
||||
}
|
||||
|
||||
// Find any 3rd party libraries which have released new versions
|
||||
// to the central Maven repo since we last upgraded.
|
||||
// http://daniel.gredler.net/2011/08/08/gradle-keeping-libraries-up-to-date/
|
||||
|
Loading…
x
Reference in New Issue
Block a user