public class DependencyOverrideCustomizer extends java.lang.Object implements AlignmentService.ResponseCustomizer
AlignmentService.ResponseCustomizer that changes the versions of
aligned dependencies
The implementation is very simple and takes Map as a constructor argument and uses the map keys to check
if a dependency matches. If so, the map's value is used as the new version
TODO: figure out if we need to worry about order| Constructor and Description |
|---|
DependencyOverrideCustomizer(java.util.Map<org.commonjava.maven.atlas.ident.ref.ProjectRef,java.lang.String> overrideMap) |
| Modifier and Type | Method and Description |
|---|---|
AlignmentService.Response |
customize(AlignmentService.Response response) |
static AlignmentService.ResponseCustomizer |
fromConfigurationForModule(org.jboss.gm.common.Configuration configuration,
java.util.Set<org.gradle.api.Project> projects) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderpublic DependencyOverrideCustomizer(java.util.Map<org.commonjava.maven.atlas.ident.ref.ProjectRef,java.lang.String> overrideMap)
public AlignmentService.Response customize(AlignmentService.Response response)
customize in interface AlignmentService.ResponseCustomizerpublic static AlignmentService.ResponseCustomizer fromConfigurationForModule(org.jboss.gm.common.Configuration configuration, java.util.Set<org.gradle.api.Project> projects)