Split server params on whitespace.

This commit is contained in:
Felix Ableitner 2016-04-07 17:57:54 +02:00
parent cfb0723c1f
commit b3212bf3f4
1 changed files with 1 additions and 1 deletions

View File

@ -23,6 +23,6 @@ run {
// ./gradlew server:run -Pargs="--name,MyName,--status,My Status"
// ```
if (project.hasProperty('args')) {
args project.args.split(',')
args project.args.split("\\s+")
}
}