apply plugin: 'groovy'

dependencies {
    compile project(':spring-security-core'),
            'aopalliance:aopalliance:1.0',
            "org.springframework:spring-beans:$springVersion",
            "org.springframework:spring-context:$springVersion",
            "org.springframework:spring-expression:$springVersion",
            "org.springframework:spring-web:$springVersion"

    optional "org.springframework:spring-webmvc:$springVersion",
            "org.springframework:spring-jdbc:$springVersion",
            "org.springframework:spring-tx:$springVersion"

    provided "org.apache.tomcat:tomcat-servlet-api:$servletApiVersion"

    testCompile project(':spring-security-core').sourceSets.test.output,
                'commons-codec:commons-codec:1.3',
                "org.slf4j:jcl-over-slf4j:$slf4jVersion",
                "org.spockframework:spock-core:$spockVersion",
                "org.springframework:spring-test:$springVersion",
                "org.codehaus.groovy:groovy:$groovyVersion",
                powerMockDependencies

    testRuntime "org.hsqldb:hsqldb:$hsqlVersion"
}