The code in this repository is no longer needed. The :grab
command is now included in groovysh
.
A standalone :grab
command for the Groovy Shell.
GROOVY-6514 is already cleared for the next Apache Groovy release, with a merged Pull Request adding a :grab
command. In the meantime, interactively Grabbing dependencies requires a bit of knowledge and typing.
I've found this little Command class useful to tide myself over until a proper :grab
command makes it into the shell.
groovy:000> :load https://git.io/v2N1I
===> true
groovy:000> :register GrabCommand
===> true
groovy:000> :grab 'org.spockframework:spock-core:1.0-groovy-2.4'
groovy:000> import spock.lang.Specification
===> spock.lang.Specification
groovy:000>