/* * Copyright 2016-2017 the original author or authors. * * Licensed 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. */ description = 'Spring CredHub Core' dependencies { compile group: 'org.springframework', name: 'spring-core', version: "${springVersion}" compile group: 'org.springframework', name: 'spring-beans', version: "${springVersion}" compile group: 'org.springframework', name: 'spring-web', version: "${springVersion}" compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.8.7' optional group: 'org.springframework.security.oauth', name: 'spring-security-oauth2', version: '2.0.14.RELEASE' optional(group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.3') { exclude(group: 'commons-logging', module: 'commons-logging') } optional group: 'com.squareup.okhttp', name: 'okhttp', version: '2.7.5' optional group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.6.0' optional group: 'io.netty', name: 'netty-all', version: '4.1.8.Final' testCompile group: 'org.springframework', name: 'spring-test', version: "${springVersion}" testCompile group: 'junit', name: 'junit', version: "${junitVersion}" testCompile group: 'org.mockito', name: 'mockito-core', version: "${mockitoVersion}" testCompile group: 'org.assertj', name: 'assertj-core', version: '3.6.1' testCompile group: 'org.valid4j', name: 'json-path-matchers', version: '1.1' }