Files
spring-credhub/spring-credhub-core/build.gradle

54 lines
1.9 KiB
Groovy

/*
* 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
*
* https://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.
*/
dependencyManagement {
imports {
mavenBom "org.springframework:spring-framework-bom:${springVersion}"
mavenBom "io.projectreactor:reactor-bom:${reactorVersion}"
}
}
description = 'Spring CredHub Core'
dependencies {
compile("org.springframework:spring-core")
compile("org.springframework:spring-beans")
compile("org.springframework:spring-context")
compile("org.springframework:spring-web")
compile("com.fasterxml.jackson.core:jackson-databind:2.9.7")
optional("org.springframework:spring-webflux")
optional("io.projectreactor.netty:reactor-netty")
compile("org.springframework.security:spring-security-oauth2-client:${springSecurityVersion}") {
exclude module: "spring-security-web"
}
optional("org.springframework.security:spring-security-config:${springSecurityVersion}")
optional("org.apache.httpcomponents:httpclient:4.5.3") {
exclude(group: 'commons-logging', module: 'commons-logging')
}
optional("com.squareup.okhttp3:okhttp:3.6.0")
optional("io.netty:netty-all:4.1.30.Final")
testImplementation("org.springframework:spring-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("junit:junit")
testImplementation("org.mockito:mockito-core")
testImplementation("org.assertj:assertj-core:${assertJVersion}")
testImplementation("com.jayway.jsonpath:json-path:2.4.0")
}