/grails-app/conf/BuildConfig.groovy

http://github.com/icescrum/iceScrum-plugin-planning-poker · Groovy · 47 lines · 28 code · 7 blank · 12 comment · 8 complexity · 75a6cd8ff2e39a724abf2f6c6174f637 MD5 · raw file

  1. import grails.util.Environment
  2. grails.project.work.dir = "target"
  3. def environment = Environment.getCurrent()
  4. if (appName != 'iceScrum-plugin-planning-poker' && environment != Environment.PRODUCTION){
  5. grails.plugin.location.'icescrum-core' = '../icescrum-core'
  6. }
  7. grails.project.dependency.resolution = {
  8. // inherit Grails' default dependencies
  9. inherits("global") {
  10. // uncomment to disable ehcache
  11. // excludes 'ehcache'
  12. }
  13. log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
  14. repositories {
  15. grailsPlugins()
  16. grailsHome()
  17. grailsCentral()
  18. // uncomment the below to enable remote dependency resolution
  19. // from public Maven repositories
  20. //mavenLocal()
  21. mavenCentral()
  22. //mavenRepo "http://snapshots.repository.codehaus.org"
  23. //mavenRepo "http://repository.codehaus.org"
  24. //mavenRepo "http://download.java.net/maven/2/"
  25. //mavenRepo "http://repository.jboss.com/maven2/"
  26. mavenRepo "http://repo.icescrum.org/artifactory/plugins-snapShots/"
  27. }
  28. dependencies {
  29. // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
  30. // runtime 'mysql:mysql-connector-java:5.1.13'
  31. }
  32. plugins {
  33. if (appName == 'iceScrum-plugin-planning-poker' || environment == Environment.PRODUCTION){
  34. compile "org.icescrum:icescrum-core:1.6-SNAPSHOT"
  35. }
  36. compile(':maven-publisher:0.8.1'){
  37. export:false
  38. }
  39. }
  40. }