I have a groovy script like so:
@Grab(\'com.univocity:univocity-parsers:2.0.0\') import com.univocity.parsers.csv.*; class MyCsvParser { }
An
You should add the ivy dependency. It's not added by default because it's declared as non-transitive. Ivy is the library which manages the dependencies loaded by @Grab:
@Grab
org.apache.ivy ivy 2.4.0