I tried the code
@Grab('org.apache.commons:commons-digester3:3.2;transitive=false')
@GrabConfig(autoDownload=false)
import org.apache.commons.digester3.Digester
assert Digester.name.size() == 37
in a separate groovy file and executed it with the `groovy` command:
$ groovy testAutoDownloadGrape
I checked again just now.
gradlew :test --tests=groovy.grape.GrapeIvyTest -Djunit.network=true
Fails on testAutoDownloadGrapeConfigFalse with the following error:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during conversion: Error grabbing Gra
Thanks Paul, adding junit.network=true enabled med to run the test.
On the master branch, the GrapeIvyTest fails on this test:
testAutoDownloadGrapeConfigFalse()
Is that the case for you as well?
Regards,
Per
On 7/1/25 01:31, Paul King wrote:
There is a switch to turn off groovy.grape tests
There is a switch to turn off groovy.grape tests in certain circumstances.
I am not sure it is defaulting correctly, but you can be sure it runs with:
gradlew :test --tests=groovy.grape.GrapeIvyTest -Djunit.network=true
On Tue, Jul 1, 2025 at 6:50 AM Per Nyfelt wrote:
> I am trying to run the