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
a54392b8
Commit
a54392b8
authored
Sep 21, 2016
by
Christian Meyer
Browse files
ZmtLaunchPlugin.java: working directory can be set via project property
parent
663facec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/groovy/de/zmt/gradle/ZmtLaunchPlugin.groovy
View file @
a54392b8
...
...
@@ -94,9 +94,12 @@ public class ZmtLaunchPlugin implements Plugin<Project> {
run
{
description
=
description
+
". Arguments can be supplied via 'args' project property (-Pargs='<args>')."
if
(
project
.
has
Property
(
'args'
)){
if
(
project
.
has
(
'args'
))
{
args
(
project
.
args
.
split
())
}
if
(
project
.
has
(
'workingDir'
))
{
workingDir
=
project
.
workingDir
}
}
}
...
...
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