blob: 795812fbad83a6f04ea4a5cf72d15c915ba215a9 [file] [log] [blame]
/*
* 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 plugin: 'war'
dependencies {
compile 'commons-lang:commons-lang:' + project.'commons-lang.version'
compile('commons-fileupload:commons-fileupload:' + project.'commons-fileupload.version') {
exclude module: 'commons-io'
}
compile 'com.fasterxml.jackson.core:jackson-annotations:' + project.'jackson.version'
compile 'com.fasterxml.jackson.core:jackson-core:' + project.'jackson.version'
compile 'com.fasterxml.jackson.core:jackson-databind:' + project.'jackson.version'
compile 'com.fasterxml.jackson.module:jackson-module-scala_2.10:' + project.'jackson-module-scala_2.10.version'
compile('io.springfox:springfox-swagger2:' + project.'springfox.version') {
exclude module: 'slf4j-api'
}
compile('io.springfox:springfox-swagger-ui:' + project.'springfox.version') {
exclude module: 'slf4j-api'
}
compile 'org.springframework:spring-beans:' + project.'springframework.version'
compile 'org.springframework.security:spring-security-core:' + project.'spring-security.version'
compile 'org.springframework.security:spring-security-web:' + project.'spring-security.version'
compile 'org.springframework.security:spring-security-config:' + project.'spring-security.version'
compile 'org.springframework:spring-web:' + project.'springframework.version'
compile 'org.springframework:spring-webmvc:' + project.'springframework.version'
compile('org.springframework.hateoas:spring-hateoas:' + project.'spring-hateoas.version') {
exclude module: 'aopalliance'
exclude module: 'commons-logging'
exclude module: 'objenesis'
exclude module: 'slf4j-api'
exclude module: 'spring-core'
}
compile('org.springframework:spring-aspects:' + project.'springframework.version') {
exclude module: 'aopalliance'
exclude module: 'aspectjweaver'
}
compile('org.springframework:spring-oxm:' + project.'springframework.version') {
exclude module: 'commons-logging'
exclude module: 'spring-core'
exclude module: 'spring-beans'
}
testCompile project(':geode-junit')
provided 'javax.servlet:javax.servlet-api:' + project.'javax.servlet-api.version'
provided project(':geode-core')
}
war {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
// this shouldn't be necessary but if it's not specified we're missing some of the jars
// from the runtime classpath
classpath configurations.runtime
}