Browse Source

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
pull/23494/head
Brian Clozel 5 years ago
parent
commit
4a3e2484ac
  1. 2
      build.gradle
  2. 1
      spring-framework-bom/spring-framework-bom.gradle

2
build.gradle

@ -49,7 +49,7 @@ ext { @@ -49,7 +49,7 @@ ext {
}
}
configure(allprojects) { project ->
configure(allprojects.findAll { (it.name != "spring-framework-bom") } ) { project ->
group = "org.springframework"
apply plugin: "java"

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

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
description = "Spring Framework (Bill of Materials)"
apply plugin: "java"
apply plugin: "maven"
configurations.archives.artifacts.clear()

Loading…
Cancel
Save