@Grab('ch.grengine:grengine:1.2.0')

* New/Fix: Extended support for Grape with Grengine and an easy-to-use
  workaround for GROOVY-7407 that can also be used independently when
  only using the Groovy JDK.

Note that even if you are not using Grengine and run into concurrency
issues with Grape, https://issues.apache.org/jira/browse/GROOVY-7407,
you might want to use the more convenient way of wrapping the
GrapeEngine in the Grape.class:

  Grengine.Grape.activate()

or

  Grengine.Grape.activate(lockOfMyChoice)

and

  Grengine.Grape.deactivate()

If you are using Grengine and want to use Grape in the scripts,
for example instead of

  File dir = ...
  Grengine gren = new Grengine(dir)

do

  File dir = ...
  Grengine.Grape.activate()
  Grengine gren = Grengine.Grape.newGrengine(dir)

See the user manual in the section "Grengine and Grape" for more details
and how and why things work:

  https://www.grengine.ch/manual.html#grengine-and-grape

Alain

Reply via email to