Commit a182e761 authored by Christian Meyer's avatar Christian Meyer
Browse files

ZmtLaunchPlugin.java: arguments can be supplied to run task

        targeting launcher
parent 7e5ed683
......@@ -85,6 +85,13 @@ public class ZmtLaunchPlugin implements Plugin<Project> {
classpath += files('$APP_HOME/lib/*')
applicationName = 'launcher'
}
run {
description = description + ". Arguments can be supplied via 'args' project property (-Pargs='<args>')."
if(project.hasProperty('args')){
args(project.args.split())
}
}
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment