chore: move Spring Boot version into Gradle version catalog so Dependabot can track it - #6713
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6713 +/- ##
=========================================
Coverage 97.79% 97.79%
Complexity 7325 7325
=========================================
Files 1015 1015
Lines 21508 21508
Branches 1416 1416
=========================================
Hits 21033 21033
Misses 359 359
Partials 116 116 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Qodana for JVM8 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
| implementation project(':vividus-util') | ||
| implementation("org.springframework.boot:spring-boot-starter:${springBootVersion}") | ||
| implementation("org.springframework.boot:spring-boot-starter-log4j2:${springBootVersion}") | ||
| implementation platform(libs.spring.boot.bom) |
| implementation project(':vividus-util') | ||
| implementation("org.springframework.boot:spring-boot-starter:${springBootVersion}") | ||
| implementation("org.springframework.boot:spring-boot-starter-log4j2:${springBootVersion}") | ||
| implementation platform(libs.spring.boot.bom) |
| dependencies { | ||
| // https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/257 | ||
| implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") | ||
| implementation platform(libs.spring.boot.bom) |
| dependencies { | ||
| // https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/257 | ||
| implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") | ||
| implementation platform(libs.spring.boot.bom) |
| dependencies { | ||
| // https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/257 | ||
| implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") | ||
| implementation platform(libs.spring.boot.bom) |
| dependencies { | ||
| // https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/257 | ||
| implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") | ||
| implementation platform(libs.spring.boot.bom) |
| dependencies { | ||
| // https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/257 | ||
| implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") | ||
| implementation platform(libs.spring.boot.bom) |
| dependencies { | ||
| // https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/257 | ||
| implementation platform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}") | ||
| implementation platform(libs.spring.boot.bom) |
|
There was a problem hiding this comment.
Pull request overview
Moves the Spring Boot version and coordinates into the Gradle version catalog so Dependabot can detect and bump Spring Boot automatically, and updates exporter modules to use the plugins {} DSL plus the catalog-provided Spring Boot BOM.
Changes:
- Added Spring Boot version, BOM library alias, and Spring Boot plugin alias to
gradle/libs.versions.toml. - Switched Zephyr/Xray/Azure DevOps exporter modules from
buildscript {}+apply plugintoplugins { alias(...) }. - Replaced hardcoded Spring Boot BOM coordinates / per-dependency versions with
platform(libs.spring.boot.bom)and versionless Spring Boot starter declarations (where applicable).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| gradle/libs.versions.toml | Adds Spring Boot version, BOM library entry, and Spring Boot plugin alias to the version catalog. |
| vividus-to-zephyr-exporter/build.gradle | Uses version-catalog plugin alias for Spring Boot and imports the Spring Boot BOM via libs. |
| vividus-to-xray-exporter/build.gradle | Uses version-catalog plugin alias for Spring Boot and imports the Spring Boot BOM via libs. |
| vividus-to-azure-devops-exporter/build.gradle | Uses version-catalog plugin alias for Spring Boot and imports the Spring Boot BOM via libs. |
| vividus-exporter-commons/build.gradle | Removes local Spring Boot version and relies on the catalog-provided Spring Boot BOM and versionless starters. |



Dependabot's Gradle parser cannot resolve versions declared as
extvariables insidebuildscript {}blocks, so Spring Boot was never bumped automatically.Changes
gradle/libs.versions.toml— adds[versions],[libraries], and[plugins]entries for Spring Boot:vividus-to-xray-exporter,vividus-to-azure-devops-exporter,vividus-to-zephyr-exporter— replacebuildscript {} + apply plugin:with theplugins {}DSL; replace the hardcoded BOM string withplatform(libs.spring.boot.bom):vividus-exporter-commons— removes theext { springBootVersion }block; imports the BOM viaplatform(libs.spring.boot.bom)and drops the explicit version from each Spring Boot dependency.