Class DependencyOverrideCustomizer

  • All Implemented Interfaces:
    AlignmentService.Manipulator

    public class DependencyOverrideCustomizer
    extends java.lang.Object
    implements AlignmentService.Manipulator
    AlignmentService.Manipulator that changes the versions of aligned dependencies.

    The implementation stores the configuration and current projects and uses those parsing out the dependencyOverride to check if a dependency matches. If so, the map's value is used as the new version (which may be empty, functioning as an exclusion)

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEPENDENCY_OVERRIDE  
    • Constructor Summary

      Constructors 
      Constructor Description
      DependencyOverrideCustomizer​(org.jboss.gm.common.Configuration configuration, java.util.Set<org.gradle.api.Project> projects)  
    • Field Detail

      • DEPENDENCY_OVERRIDE

        public static final java.lang.String DEPENDENCY_OVERRIDE
        See Also:
        Constant Field Values
    • Constructor Detail

      • DependencyOverrideCustomizer

        public DependencyOverrideCustomizer​(org.jboss.gm.common.Configuration configuration,
                                            java.util.Set<org.gradle.api.Project> projects)