Hello! So I am building a BOM in Gradle for my team, and I noticed something. If I create my dependencies like so:
dependencies {
api(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
constraints {
api("org.springframework.boot:spring-boot-starter-data-redis")
}
}
The spring-boot-starter-data-redis
doesn’t appear in the dependencyManagement
section of the generated POM, which seems to be because I don’t have a version set. But I’d like to get that version from the Spring BOM. Is this possible?
Thanks!