瀏覽代碼

Revert "Use reactor-netty-http for snapshot build"

Issue https://github.com/spring-projects/spring-security/issues/8909
Joe Grandja 4 年之前
父節點
當前提交
19d6e97372
共有 1 個文件被更改,包括 0 次插入29 次删除
  1. 0 29
      gradle/dependency-management.gradle

+ 0 - 29
gradle/dependency-management.gradle

@@ -36,32 +36,3 @@ dependencyManagement {
 		dependency "com.jayway.jsonpath:json-path:2.+"
 	}
 }
-
-/*
-NOTE:
-The latest `reactor-netty` dependency was split into `reactor-netty-core` and `reactor-netty-http`,
-which resulted in the snapshot build to fail. The below configuration fixes it.
-
-Reference:
-- https://github.com/spring-projects/spring-security/issues/8909
-- https://github.com/reactor/reactor-netty/issues/739#issuecomment-667047117
-*/
-if (reactorVersion.startsWith('20')) {
-	if (reactorVersion.endsWith('SNAPSHOT') || reactorVersion.endsWith('+')) {
-		ext.reactorLatestVersion = "latest.integration"
-	} else {
-		ext.reactorLatestVersion = "latest.release"
-	}
-	configurations {
-		all {
-			resolutionStrategy {
-				eachDependency { DependencyResolveDetails details ->
-					if (details.requested.name == 'reactor-netty') {
-						details.useTarget("${details.requested.group}:reactor-netty-http:${reactorLatestVersion}")
-						details.because("reactor-netty is now split into reactor-netty-core and reactor-netty-http")
-					}
-				}
-			}
-		}
-	}
-}