AvalanceIndia Posted June 6, 2018 Report Posted June 6, 2018 @Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.1') import groovyx.net.http.HTTPBuilder We can a script where I need to Call HttPBuilder to make API call. used @Grab statement in my script but realized that my laptop security and network security does not allw me me to go Maven Central and download jar. So I used https://stackoverflow.com/questions/3601570/how-to-download-jars-from-maven-central-without-writing-any-pom-xml suggestion and managed to download jar. I renamed the downloaded file to Http-Buolder-0.7.1.jar and moved it to JAVA_HOME\lib folder. Still import statement fail. What am I doing wrong? My PC is Windows 7 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.