tkgregory / version-catalog-with-spring-boot

Demonstrates Gradle's version catalog feature with Spring Boot

Home Page:https://youtu.be/mLnu5T6IrPQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Demonstrates Gradle's version catalog feature with Spring Boot

https://youtu.be/mLnu5T6IrPQ


Languages

Language:Java 76.1%Language:Kotlin 23.9%