sp00ky
2 years agoOccasional Contributor
How to use @grab in groovy scripts?
Hi! How can I extend groovy script functionality inside ReadyAPI? ReadyAPI version 3.47.0 with Groovy 3.0.14 installed. I already added latest Apache ivy dependency manager "ivy-2.5.1.jar" to "C...
- 2 years ago
Not sure why it is failing.
Alternatively, you can download the same groovy-wslite from below location and use it. of course, remove the @Grab line fom the script.
https://repo1.maven.org/maven2/com/github/groovy-wslite/groovy-wslite/1.1.3/groovy-wslite-1.1.3.jar
- 2 years ago
nmrao Thank you. It is not solving the original problem loading dependencies dynamically via @Grab, but it works. It also proves that loading jar libs from /bin/ext/ folder is working. I guess the ivy lib needs an additional lib like ant to use @Grab command but I will not investigate further.