Spring Dependency Management Plugin has dependencySet and dependency, which helps define a dependency version once in root build.gradle into dependencies {} block . I couldn't find the same behavior in native Gradle. How can I define a dependency version in root build.gradle and then add dependencies without version in project modules build.gradle ?
Great Talk!
Spring Dependency Management Plugin has dependencySet and dependency, which helps define a dependency version once in root build.gradle into dependencies {} block . I couldn't find the same behavior in native Gradle. How can I define a dependency version in root build.gradle and then add dependencies without version in project modules build.gradle ?
Look into the java platform plugin. It's the equivalent of Maven BOM.