/version-catalog-with-spring-boot

Demonstrates Gradle's version catalog feature with Spring Boot

Primary LanguageJava

CI

This project demonstrates the Gradle 7.4+ Version Catalog feature with Spring Boot.

Note that:

  • we don't use io.spring.dependency-management plugin, but instead apply spring-boot-dependencies platform/BOM via SpringBootPlugin.BOM_COORDINATES
  • Spring Boot dependencies are defined in setings.gradle.kts. Can instead use gradle/libs.versions.toml as per the docs.
  • Spring Boot version is defined in build.gradle.kts rather than version catlog due to IntelliJ IDEA bug which shows plugin reference to version catalog as error

Click below to watch the accompanying YouTube video 👇

Aggregated test reports, Jacoco reports, version catalogs | NEW GRADLE 7.4 FEATURES