Skip to content

Instantly share code, notes, and snippets.

@xetorthio
Created April 19, 2010 13:14
Show Gist options
  • Save xetorthio/371029 to your computer and use it in GitHub Desktop.
Save xetorthio/371029 to your computer and use it in GitHub Desktop.
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
//grails.project.war.file = "target/${appName}-${appVersion}.war"
grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits( "global" ) {
// uncomment to disable ehcache
// excludes 'ehcache'
}
log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
repositories {
grailsPlugins()
grailsHome()
// uncomment the below to enable remote dependency resolution
// from public Maven repositories
//mavenLocal()
mavenCentral()
//mavenRepo "http://snapshots.repository.codehaus.org"
//mavenRepo "http://repository.codehaus.org"
//mavenRepo "http://download.java.net/maven/2/"
//mavenRepo "http://repository.jboss.com/maven2/"
}
dependencies {
test('net.sourceforge.htmlunit:htmlunit:2.5') {
excludes 'xalan' // IVY-1006 - use xalan 2.7.0 to avoid (see below)
excludes 'xml-apis' // GROOVY-3356
}
test('xalan:xalan:2.7.0') {
excludes 'xml-apis' // GROOVY-3356
}
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
// runtime 'mysql:mysql-connector-java:5.1.5'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment