This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@GrabResolver(name='mirror', root='http://repository/nexus/content/groups/public') | |
@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.1') | |
import groovyx.net.http.* | |
import static groovyx.net.http.ContentType.* | |
import static groovyx.net.http.Method.* | |
import org.apache.http.impl.conn.PoolingClientConnectionManager | |
import org.apache.http.params.HttpParams | |
import org.apache.http.client.HttpClient | |
import org.apache.http.impl.client.DefaultHttpClient |