On 07/03/2012 04:04, Glen Stampoultzis wrote:
That lets me pass arguments by hard coding them into my build.gradle but I was 
wanting to
pass args from the gradle command line. For example something like:

gradle run arg1 arg2 ...

I was suspecting that. I asked the same question some time ago, and I had no satisfying answer: I wanted a built-in way to specify arguments are for running, not for Gradle itself. IIRC, the proposed workarounds was to hand-edit the .gradle file before each run (at least you have the facilities of an editor) or to use properties -P and manipulate it (but you are limited by the command line limitations of your system).

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to