Add release plugin
Add release plugin

grails.servlet.version = "3.0" // Change depending on target container compliance (2.5 or 3.0)

grails.project.work.dir = "target"
grails.views.javascript.library="jquery"

grails.project.dependency.resolver = "maven" // or ivy
grails.project.dependency.resolution = {
    inherits "global"
    log "warn"
    repositories {
        inherits true
        grailsPlugins()
        grailsHome()

        if (grailsSettings.config.jcatalog.mavenLocal) {
            mavenLocal grailsSettings.config.jcatalog.mavenLocal
        }
        if (grailsSettings.config.jcatalog.mavenCentral) {
            mavenRepo grailsSettings.config.jcatalog.mavenCentral
        }

        grailsCentral()
        mavenCentral()
        // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
        mavenRepo "http://repository.codehaus.org"
        mavenRepo "http://download.java.net/maven/2/"
        mavenRepo "http://repository.jboss.com/maven2/"
        mavenRepo "http://repo.grails.org/grails/core"
    }
    
    dependencies {
        compile ('com.sdicons.jsontools:jsontools-core:1.7',
                 'commons-httpclient:commons-httpclient:3.0.1',
                 'commons-beanutils:commons-beanutils:1.9.2') {
            exported=false
        }
        runtime ('javax.mail:mail:1.4',
                 'javax.activation:activation:1.1',
                 'org.apache.ant:ant:1.7.1',
                 'org.apache.ant:ant-launcher:1.7.1',
                 'org.springframework:spring-test:3.1.2.RELEASE'){
            exported=false
        }
    }
    
    plugins {
        // plugins for the build system only
        build ":tomcat:7.0.47"
        build ":release:3.0.1"

        // plugins needed at runtime but not for compilation
        runtime ":hibernate:3.6.10.6"
        runtime ":resources:1.2.8"

        runtime(':jquery:1.11.1',
                ':jquery-ui:1.10.3',
                ':jqplot:0.1')
        compile ":export:1.6"
        compile ":quartz:1.0.1"
    }
}

grails.servlet.version = "3.0" // Change depending on target container compliance (2.5 or 3.0)

grails.project.work.dir = "target"
grails.views.javascript.library="jquery"

grails.project.dependency.resolver = "maven" // or ivy
grails.project.dependency.resolution = {
    inherits "global"
    log "warn"
    repositories {
        inherits true
        grailsPlugins()
        grailsHome()

        if (grailsSettings.config.jcatalog.mavenLocal) {
            mavenLocal grailsSettings.config.jcatalog.mavenLocal
        }
        if (grailsSettings.config.jcatalog.mavenCentral) {
            mavenRepo grailsSettings.config.jcatalog.mavenCentral
        }

        grailsCentral()
        mavenCentral()
        // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
        mavenRepo "http://repository.codehaus.org"
        mavenRepo "http://download.java.net/maven/2/"
        mavenRepo "http://repository.jboss.com/maven2/"
        mavenRepo "http://repo.grails.org/grails/core"
    }
    
    dependencies {
        compile ('com.sdicons.jsontools:jsontools-core:1.7',
                 'commons-httpclient:commons-httpclient:3.0.1',
                 'commons-beanutils:commons-beanutils:1.9.2') {
            exported=false
        }
        runtime ('javax.mail:mail:1.4',
                 'javax.activation:activation:1.1',
                 'org.apache.ant:ant:1.7.1',
                 'org.apache.ant:ant-launcher:1.7.1',
                 'org.springframework:spring-test:3.1.2.RELEASE'){
            exported=false
        }
    }
    
    plugins {
        // plugins for the build system only
        build ":tomcat:7.0.47"

        // plugins needed at runtime but not for compilation
        runtime ":hibernate:3.6.10.6"
        runtime ":resources:1.2.8"

        runtime(':jquery:1.11.1',
                ':jquery-ui:1.10.3',
                ':jqplot:0.1')
        compile ":export:1.6"
        compile ":quartz:1.0.1"
    }
}
