I have a groovy script I am working on, which imports dependencies using the @Grab annotation. This script will run within IDEA, and from the command line. However, within the I
There could be 2 problems interfering with the resolution of the Grab dependencies
"Mark Directory As" -> "Sources Root"
"Project" -> "Project SDK"
and give it a Java JDK.Once these steps are done, you should be able to hit Alt
+ Enter
and then select "Grab the artifacts"
As stated by CrazyCoder, Alt
+ Enter
then select Grab the artifacts and Enter