I could use some good examples, because I'm struggling with the same issue.

I'm needing to pass in the truststore location. The way I did it with my old
build tool was to pass it with a -D on the command line. I've tried this
with no luck:

gradle
-Djavax.net.ssl.trustStore=/Users/eddythejekyll/development/keystore/keys
clean test -Pt=ComponentRestSpec --info

Here's my wrapper task:

task wrapper(type: Wrapper) {
    gradleVersion = '1.0-milestone-3'
}

What is the syntax to add the trustStore location?



On Tue, Oct 18, 2011 at 3:43 AM, davide.cavestro <
[email protected]> wrote:

>
> Adam Murdoch wrote:
> >
> > One option is to use the wrapper, and edit the wrapper script to add in
> > these options.
> >
> Hi Adam,
> many thanks for your promptness!!!
> I'll give it a try soon, even for getting the other advantages of the
> wrapper approach.
> Nonetheless I think it could be very useful having a way to pass jvm opts
> directly from command line (I guess an ad-hoc string parameter with the
> same
> semantics of GRADLE_OPTS/JAVA_OPTS would be enough).
>
> Cheers
> Davide
>
> --
> View this message in context:
> http://gradle.1045684.n5.nabble.com/Is-there-any-way-to-pass-gradle-JVM-options-from-command-line-without-GRADLE-OPTS-env-var-tp4912969p4913079.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>


-- 
- Ed

Reply via email to