From: AsamK Date: Sun, 12 Sep 2021 17:20:21 +0000 (+0200) Subject: Remove custom -PappArgs handling, gradle now supports --args X-Git-Tag: v0.9.1~58 X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/12e85ec6718ecd1176d54f52b9061ecec6624b77?ds=sidebyside Remove custom -PappArgs handling, gradle now supports --args --- diff --git a/README.md b/README.md index b63733d1..9a11ee6e 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,10 @@ dependencies. If you have a recent gradle version installed, you can replace `./ ./gradlew distTar +5. Compile and run signal-cli: + + ./gradlew run --args="--help" + ### Building a native binary with GraalVM (EXPERIMENTAL) It is possible to build a native binary with [GraalVM](https://www.graalvm.org). diff --git a/build.gradle.kts b/build.gradle.kts index 0ef51bda..51b2ef75 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -64,12 +64,3 @@ tasks.withType { ) } } - -tasks.withType { - 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 - } -}