« Return to Thread: Performance of Gradle vs. Maven

Re: Performance of Gradle vs. Maven

by Russel Winder-4 :: Rate this Message:

Reply to Author | View in Thread

On Thu, 2009-06-11 at 08:54 +0200, Hans Dockter wrote:
[ . . . ]

> > How do I tell Gradle to fork once for the tests instead of the  
> > default per test forking?
>
> test {
>      options.fork(forkMode: ForkMode.ONCE)
> }
>
> or
>
> test.options.fork(forkMode: ForkMode.ONCE)
Uuuurrrr.... for the Gant build I am seeing that Gradle uses once mode
by default and that I have to use

test.options.fork ( forkMode : ForkMode.PER_TEST )

to get per test mode.  I am using Gradle Trunk though.

--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel@...
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder@...
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder


signature.asc (204 bytes) Download Attachment

 « Return to Thread: Performance of Gradle vs. Maven