فهرست منبع

Remove dependency-management.gradle

Issue gh-9540
Rob Winch 4 سال پیش
والد
کامیت
8af36c9ef6
1فایلهای تغییر یافته به همراه0 افزوده شده و 48 حذف شده
  1. 0 48
      gradle/dependency-management.gradle

+ 0 - 48
gradle/dependency-management.gradle

@@ -1,48 +0,0 @@
-if (!project.hasProperty("reactorVersion")) {
-	ext.reactorVersion = "2020.0.+"
-}
-
-if (!project.hasProperty("springVersion")) {
-	ext.springVersion = "5.3.+"
-}
-
-if (!project.hasProperty("springDataVersion")) {
-	ext.springDataVersion = "Neumann-SR+"
-}
-if (!project.hasProperty("kotlinVersion")) {
-	ext.kotlinVersion = "1.+"
-}
-if (!project.hasProperty("rsocketVersion")) {
-	ext.rsocketVersion = "1.1.0"
-}
-if (!project.hasProperty("locksDisabled")) {
-	dependencyLocking {
-		lockAllConfigurations()
-	}
-}
-ext.openSamlVersion = "3.+"
-
-dependencies {
-	management platform(project(":spring-security-dependencies"))
-}
-
-configurations {
-	all {
-		resolutionStrategy {
-			componentSelection {
-				all { ComponentSelection selection ->
-					def candidate = selection.getCandidate()
-					def version = candidate.getVersion().toLowerCase()
-
-					if (version.contains("alpha") || version.contains("beta")) {
-						selection.reject("Rejecting $selection with version $version as alpha/beta")
-					}
-
-					if (candidate.getModule().equals("jsr250-api") && version.equals("1.0-20050927.133100")) {
-						selection.reject("Rejecting $selection with version $version as invalid version")
-					}
-				}
-			}
-		}
-	}
-}