Split server params on whitespace.

This commit is contained in:
Felix Ableitner 2016-04-07 17:57:54 +02:00
parent cfb0723c1f
commit b3212bf3f4

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+")
}
}