Recipe to remove versions from spring-boot managed Gradle dependencies #115
Labels
discovery
Investigate and determine what should be done
enhancement
New feature or request
question
Further information is requested
An issue I've seen while upgrading spring-boot is projects declaring their own version for a dependency that spring-boot manages out of the box. Allowing spring-boot to control the version of dependencies ideally makes future upgrades easier, as they maintain a curated list of compatible dependencies.
While there certainly are cases for pinning the version by setting version properties for the dependency, when a project declares a dependency with a particular version themselves, I've found it tends to be from lack of awareness that spring-boot will manage the version for them.
For example:
Should instead be:
Such a feature could examine other BOM files as well, such as:
org.springframework.cloud:spring-cloud-dependencies
.While this may be gated by the Gradle AST becoming more mature, does this seem like a feature you all would like to support?
The text was updated successfully, but these errors were encountered: