Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ecomod
zmt-build
Commits
a182e761
Commit
a182e761
authored
Sep 21, 2016
by
Christian Meyer
Browse files
ZmtLaunchPlugin.java: arguments can be supplied to run task
targeting launcher
parent
7e5ed683
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/groovy/de/zmt/gradle/ZmtLaunchPlugin.groovy
View file @
a182e761
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment