Split server params on whitespace.
This commit is contained in:
parent
cfb0723c1f
commit
b3212bf3f4
1 changed files with 1 additions and 1 deletions
|
@ -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+")
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue