Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GEODE-6399: Manage dependency versions via java-platform (apache#3190)
* All applicable projects should opt into dependency version management via bom consumption, i.e., compile(platform(project(':boms:geode-all-bom'))) * Those configurations that do not extend compile, such as compileOnly or those provided by other plugins, will also require a dependency on the platform's BOM * The BOM itself is now configured via the buildSrc DependencyConstraints.groovy. This replaces geode-dependency-management.gradle. * Those lingering "property" versions are now accessible via DependencyConstraints.get() rather than project properties. * Published POMs now correctly consume the Geode BOM, rather than reproducing the same dependencyManagement block across all POMs. * expected_pom.xml, expected_classpath.txt, and dependency_classpath.txt files have been accordingly updated. * publish.gradle now sets the project property constrainVersionInBom, indicating that the published artifact should be constrained to the same version in the geode-all-bom as the BOM itself. Use project.ext.set('constrainVersionInBom', true) to opt into the constrain set without consuming publish.gradle, or the inverse to opt out. * Explicit dependency in test.gradle on geode-junit:1.3.0 has been removed. It is only needed in buildSrc testRuntime. * Unused 'bundled' configuration from legacy publication style has been removed. Co-authored-by: Patrick Rhomberg <[email protected]> Co-authored-by: Robert Houghton <[email protected]>
- Loading branch information