grails.project.dependency.resolution = {
  inherits("global") {
  }
  log "warn"
  plugins{
	test "org.grails.plugins:code-coverage:1.2.4"
	test "org.grails.plugins:spock:0.5-groovy-1.7"
  }
  repositories {
    mavenLocal()
    mavenCentral()
    grailsPlugins()
    grailsHome()
    grailsCentral()
  }
  dependencies {
	compile("org.codehaus.groovy.modules.http-builder:http-builder:0.5.0") {
		excludes 'groovy', 'xml-apis', 'xercesImpl', 'commons-lang'
	}
	runtime 'commons-httpclient:commons-httpclient:3.0.1'
	runtime 'xerces:xerces:2.4.0'
  }
}

grails.project.dependency.resolution = {
  inherits("global") {
  }
  log "warn"
  plugins{
	test "org.grails.plugins:code-coverage:1.2.4" { export = false }
	test "org.grails.plugins:spock:0.5-groovy-1.7" { export = false }
  }
  repositories {
    mavenLocal()
    mavenCentral()
    grailsPlugins()
    grailsHome()
    grailsCentral()
  }
  dependencies {
	compile("org.codehaus.groovy.modules.http-builder:http-builder:0.5.0") {
		excludes 'groovy', 'xml-apis', 'xercesImpl', 'commons-lang'
	}
	runtime 'commons-httpclient:commons-httpclient:3.0.1'
	runtime 'xerces:xerces:2.4.0'
  }
}

Add { export = false } to avoid problems in Gails 2.0.1 with wrong dependencies on spock and groovy 1.7.x
Add { export = false } to avoid problems in Gails 2.0.1 with wrong dependencies on spock and groovy 1.7.x