Permalink
Browse files

BuildConfig updated to use maven dependency resolver

  • Loading branch information...
1 parent 6a31744 commit 7b606cf3cd656dde0563f233ff38ded9c47f4363 @benorama benorama committed Sep 12, 2013
Showing with 17 additions and 4 deletions.
  1. +17 −4 grails-app/conf/BuildConfig.groovy
@@ -1,10 +1,23 @@
-grails.project.work.dir = 'target'
+grails.servlet.version = '3.0' // Change depending on target container compliance (2.5 or 3.0)
+grails.project.class.dir = 'target/classes'
+grails.project.test.class.dir = 'target/test-classes'
+grails.project.test.reports.dir = 'target/test-reports'
+grails.project.work.dir = 'target/work'
+grails.project.target.level = 1.6
grails.project.source.level = 1.6
+grails.project.dependency.resolver = 'maven'
grails.project.dependency.resolution = {
- inherits 'global'
- log 'warn'
- repositories {
+ // inherit Grails' default dependencies
+ inherits('global') {
+ // specify dependency exclusions here; for example, uncomment this to disable ehcache:
+ // excludes 'ehcache'
+ }
+ log 'error' // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
+ checksums true // Whether to verify checksums on resolve
+ legacyResolve false // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility
+
+ repositories {
grailsCentral()
mavenLocal()
mavenCentral()

0 comments on commit 7b606cf

Please sign in to comment.