blob: 67f482161241a85ef80d041ecc6ff887d0ca0b7f [file] [log] [blame]
import org.apache.geode.gradle.plugins.DependencyConstraints
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply from: "${rootDir}/${scriptDir}/standard-subproject-configuration.gradle"
evaluationDependsOn(":geode-core")
dependencies {
compile(platform(project(':boms:geode-all-bom')))
compile(project(':extensions:geode-modules-session-internal')) {
exclude module: 'geode-modules'
}
compile(project(':geode-core'))
integrationTestCompile(project(':extensions:geode-modules'))
integrationTestCompile(project(':geode-dunit')) {
exclude module: 'geode-core'
}
compile('javax.servlet:javax.servlet-api')
compile('org.apache.tomcat:servlet-api:' + DependencyConstraints.get('tomcat6.version'))
compile('org.slf4j:slf4j-api')
integrationTestCompile('com.mockrunner:mockrunner-servlet') {
exclude group: 'jboss'
exclude group: 'xerces'
}
integrationTestCompile('commons-io:commons-io')
integrationTestCompile('javax.servlet:javax.servlet-api')
integrationTestCompile('junit:junit')
integrationTestCompile('org.apache.tomcat:jasper:' + DependencyConstraints.get('tomcat6.version'))
integrationTestCompile('org.assertj:assertj-core')
integrationTestCompile('org.eclipse.jetty:jetty-http:' + DependencyConstraints.get('jetty.version') + ':tests')
integrationTestCompile('org.eclipse.jetty:jetty-server')
integrationTestCompile('org.eclipse.jetty:jetty-servlet:' + DependencyConstraints.get('jetty.version') + ':tests')
integrationTestCompile('org.eclipse.jetty:jetty-servlet:' + DependencyConstraints.get('jetty.version'))
integrationTestCompile('org.eclipse.jetty:jetty-util')
integrationTestCompile('org.httpunit:httpunit') {
exclude group: 'javax.servlet'
// this version of httpunit contains very outdated xercesImpl
exclude group: 'xerces'
}
integrationTestCompile('org.slf4j:slf4j-api')
integrationTestRuntime('xerces:xercesImpl')
}
jar {
manifest {
attributes 'Main-Class': 'org.apache.geode.modules.session.installer.Installer'
}
baseName = 'geode-modules-session'
}