mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 05:22:16 +00:00
Ensure single version of org.slf4j
This commit is contained in:
parent
0114b457c0
commit
c156716be8
@ -111,6 +111,14 @@ dependencies {
|
|||||||
|
|
||||||
[configurations.runtime, configurations.default]*.exclude(module: 'commons-logging')
|
[configurations.runtime, configurations.default]*.exclude(module: 'commons-logging')
|
||||||
|
|
||||||
|
configurations.all {
|
||||||
|
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
|
||||||
|
if (details.requested.group == 'org.slf4j') {
|
||||||
|
details.useVersion slf4jVersion
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user