mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Disable generation of Gradle metadata for spring-boot-dependencies
Gradle's metadata for a platform does not provide a way to define exclusions in the same way that can be done in <dependencyManagement> in a Mavne bom. This means that Gradle 6 users lose the exclusions that are defined in the pom as Gradle 6 will use the metadata rather than the pom. Until such a time as Gradle's metadata supports the configuration of such exclusions we can avoid the problem by disabling the metadata's publication. Fixes gh-21350
This commit is contained in:
parent
4169724b86
commit
0ef7f909b8
@ -1847,3 +1847,7 @@ bom {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
generateMetadataFileForMavenPublication {
|
||||
enabled = false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user