Skip to content

Commit 19d6e97

Browse files
committed
Revert "Use reactor-netty-http for snapshot build"
Issue spring-projects/spring-security#8909
1 parent cff7b78 commit 19d6e97

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

gradle/dependency-management.gradle

-29
Original file line numberDiff line numberDiff line change
@@ -36,32 +36,3 @@ dependencyManagement {
3636
dependency "com.jayway.jsonpath:json-path:2.+"
3737
}
3838
}
39-
40-
/*
41-
NOTE:
42-
The latest `reactor-netty` dependency was split into `reactor-netty-core` and `reactor-netty-http`,
43-
which resulted in the snapshot build to fail. The below configuration fixes it.
44-
45-
Reference:
46-
- https://github.com/spring-projects/spring-security/issues/8909
47-
- https://github.com/reactor/reactor-netty/issues/739#issuecomment-667047117
48-
*/
49-
if (reactorVersion.startsWith('20')) {
50-
if (reactorVersion.endsWith('SNAPSHOT') || reactorVersion.endsWith('+')) {
51-
ext.reactorLatestVersion = "latest.integration"
52-
} else {
53-
ext.reactorLatestVersion = "latest.release"
54-
}
55-
configurations {
56-
all {
57-
resolutionStrategy {
58-
eachDependency { DependencyResolveDetails details ->
59-
if (details.requested.name == 'reactor-netty') {
60-
details.useTarget("${details.requested.group}:reactor-netty-http:${reactorLatestVersion}")
61-
details.because("reactor-netty is now split into reactor-netty-core and reactor-netty-http")
62-
}
63-
}
64-
}
65-
}
66-
}
67-
}

0 commit comments

Comments
 (0)