From 4a3e2484ac19cb7ef9db9ed92d7ac7dab972f714 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Tue, 20 Aug 2019 20:33:10 +0200 Subject: [PATCH] Ignore spring-framework-bom project in global config This commit ensures that the spring-framework-bom project is ignored from the global configuration block. If not, many conventions and dependencies are added to it and add noise to the published BOM. See gh-23282 --- build.gradle | 2 +- spring-framework-bom/spring-framework-bom.gradle | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3176b67fcae..00eb058a541 100644 --- a/build.gradle +++ b/build.gradle @@ -49,7 +49,7 @@ ext { } } -configure(allprojects) { project -> +configure(allprojects.findAll { (it.name != "spring-framework-bom") } ) { project -> group = "org.springframework" apply plugin: "java" diff --git a/spring-framework-bom/spring-framework-bom.gradle b/spring-framework-bom/spring-framework-bom.gradle index 8cbd3d7f695..d10dc256b1a 100644 --- a/spring-framework-bom/spring-framework-bom.gradle +++ b/spring-framework-bom/spring-framework-bom.gradle @@ -1,5 +1,6 @@ description = "Spring Framework (Bill of Materials)" +apply plugin: "java" apply plugin: "maven" configurations.archives.artifacts.clear()