Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Creating a BOM in Gradle is quite simple: we need the java-platform plugin for this. In the dependenciessection, within the constraintsblock, list the required dependencies with specific versions, and we're done (the full example is here):
In Gradle, to achieve this, we need to specify the allowDependencies option (the full example is here):
The issue is that the springdoc-openapi BOM brings an old version of the Spring Framework 6.0, which is incompatible with Spring Boot 3.2. There are several ways to solve this problem: update springdoc, change the order of BOM imports, but the best, in my opinion, is to avoid using the io.spring.dependency-management plugin.
Example application for experimentation can be found here.