Maven BOM in the Gradle way

Hello everyone whats the Gradle way to implement the same concept of Bill of materials to create a library or even common microservices dependencies (Java 1.8)

Gradle has a concept called platforms which is used to align and possibly enforce dependency versions. It can also both import and produce Maven BOMs in addition to Gradle’s own metadata format.

Read more about it in the user guide.