mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Remove custom -PappArgs handling, gradle now supports --args
This commit is contained in:
parent
627a587952
commit
12e85ec671
2 changed files with 4 additions and 9 deletions
|
@ -64,12 +64,3 @@ tasks.withType<Jar> {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<JavaExec> {
|
||||
val appArgs: String? by project
|
||||
if (appArgs != null) {
|
||||
// allow passing command-line arguments to the main application e.g.:
|
||||
// $ gradle run -PappArgs="['-u', '+...', 'daemon', '--json']"
|
||||
args = groovy.util.Eval.me(appArgs) as MutableList<String>
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue