Skip to content

Instantly share code, notes, and snippets.

@folkengine
Created October 3, 2011 18:31
Show Gist options
  • Save folkengine/1259845 to your computer and use it in GitHub Desktop.
Save folkengine/1259845 to your computer and use it in GitHub Desktop.
Updating Apache Commons Validator to 1.4.0-SNAPSHOT in Grails
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()
grailsCentral()
}
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
// Commons 1.4.0 to do EAN validation
// Add the jar to ./lib
runtime 'commons-validator:commons-validator:1.4.0-SNAPSHOT'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment