Skip to content

Commit 4a3e248

Browse files
committed
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
1 parent e952316 commit 4a3e248

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ext {
4949
}
5050
}
5151

52-
configure(allprojects) { project ->
52+
configure(allprojects.findAll { (it.name != "spring-framework-bom") } ) { project ->
5353
group = "org.springframework"
5454

5555
apply plugin: "java"

spring-framework-bom/spring-framework-bom.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
description = "Spring Framework (Bill of Materials)"
22

3+
apply plugin: "java"
34
apply plugin: "maven"
45

56
configurations.archives.artifacts.clear()

0 commit comments

Comments
 (0)