Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.2.0
Fetching contributors…

Cannot retrieve contributors at this time

file 64 lines (54 sloc) 1.984 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
configurations {
    jsp21.extendsFrom compile
}

dependencies {
    jsp21 'javax.servlet.jsp:jsp-api:2.1'

    compile project(":grails-bootstrap"), project(":grails-core"), project(":grails-spring")
    compile('commons-el:commons-el:1.0') {
        exclude module:'commons-logging'
    }

    compile ("commons-beanutils:commons-beanutils:${commonsBeanUtilsVersion}") {
        exclude group: 'commons-logging', module:'commons-logging'
    }
    compile "commons-collections:commons-collections:${commonsCollectionsVersion}"
    compile('commons-fileupload:commons-fileupload:1.2.2')
    compile "commons-io:commons-io:${commonsIOVersion}"
    compile "commons-lang:commons-lang:$commonsLangVersion"

    compile( "com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:${concurrentlinkedhashmapVersion}" ) {
        exclude group: 'commons-logging', module:'commons-logging'
    }
    compile 'opensymphony:sitemesh:2.4'
    compile "junit:junit:${junitVersion}"

    compile "org.springframework:spring-webmvc:${springVersion}"

    // Required for JSP support
    compile 'javax.servlet:jsp-api:2.0'
    compile 'xpp3:xpp3_min:1.1.4c'
    runtime 'taglibs:standard:1.1.2'
    runtime "javax.servlet:jstl:1.1.2"
}

sourceSets {
    jsp21 {
        compileClasspath = files(configurations.jsp21, main.output)
        groovy.srcDirs = ['src/jsp21/groovy']
        resources.srcDirs = []
    }
}

jar {
    from compileJsp21Groovy.outputs.files
}

jar.appendix = 'web'

eclipse {
    classpath {
        plusConfigurations += configurations.jsp21
        file {
            whenMerged { classpath ->
                // move jsp-api-2.1 to the last one in entries so that it appears after -2.0
                def jsp21 = classpath.entries.find { entry -> entry?.path =~ /jsp-api-2.1.jar$/ }
                if (jsp21) {
                    classpath.entries.remove(jsp21)
                    classpath.entries << jsp21
                }
            }
        }
    }
}
Something went wrong with that request. Please try again.