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 applyspring-boot-dependencies
platform/BOM viaSpringBootPlugin.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 👇