From 70c810ff177ab6a1e2e37093655e6feb94796d04 Mon Sep 17 00:00:00 2001 From: Riamse Date: Tue, 15 May 2018 22:29:04 -0400 Subject: [PATCH] Short comment to explain how to pass arguments to main application --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 37f97ce5..3354d30e 100644 --- a/build.gradle +++ b/build.gradle @@ -38,6 +38,8 @@ jar { run { if (project.hasProperty("appArgs")) { + // allow passing command-line arguments to the main application e.g.: + // $ gradle run -PappArgs="['-u', '+...', 'daemon', '--json']" args Eval.me(appArgs) } }