PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

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