Skip to content

Instantly share code, notes, and snippets.

@sergiomichels
Created August 29, 2013 17:24
Show Gist options
  • Select an option

  • Save sergiomichels/6380934 to your computer and use it in GitHub Desktop.

Select an option

Save sergiomichels/6380934 to your computer and use it in GitHub Desktop.
My custom plugin BuildConfig
grails.project.work.dir = 'target/work'
grails.project.target.level = 1.6
grails.project.dependency.resolution = {
inherits("global") {
excludes 'svn'
}
legacyResolve false
log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
grails.project.dependency.resolver = "maven" // or ivy
repositories {
grailsPlugins()
grailsHome()
grailsCentral()
mavenCentral()
mavenLocal()
//company local repository
//mavenRepo "http://xxxx:8082/maven/repo"
}
dependencies {
compile 'org.jadira.usertype:usertype.jodatime:1.9.1'
compile 'joda-time:joda-time:2.2'
compile 'br.com.caelum.stella:caelum-stella-core:1.2'
compile 'net.sf.opencsv:opencsv:2.3'
}
plugins {
compile(":tomcat:7.0.41", ":release:3.0.0", ":hibernate:3.6.10.M5") {
export = false
excludes 'svn'
}
compile (":platform-core:1.0.RC5") {
excludes 'svn'
}
compile ":gson:1.1.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment