| Interface | Description |
|---|---|
| AlignmentService |
Used by
AlignmentTask in order to perform the alignment |
| AlignmentService.RequestCustomizer |
Meant to change
AlignmentService.Request before it is handed to
the AlignmentService |
| AlignmentService.ResponseCustomizer |
Meant to change
AlignmentService.Response after it is returned by
the AlignmentService |
| Class | Description |
|---|---|
| AlignmentPlugin |
Results in adding a task with name "generateAlignmentMetadata".
|
| AlignmentService.Request |
Contains both the collected project dependencies GAVs and the project GAV.
|
| AlignmentService.Response |
Contains the resulting aligned dependencies from the dependency analyzer.
|
| AlignmentTask |
The actual Gradle task that creates the
manipulation.json file for the whole project
(whether it's a single or multi module project) |
| DAAlignmentService |
An implementation of
AlignmentService that uses the Dependency Analyzer service
in order to get the proper aligned versions of dependencies (as well as the version of the project itself)
The heavy lifting is done by DefaultTranslator |
| DependencyExclusionCustomizer |
AlignmentService.RequestCustomizer that removes dependencies from a
AlignmentService.Request
The idea is that this class will be created with a predicate (which can of course be the product of multiple predicates)
that will match dependencies that are supposed to be excluded. |
| DependencyOverrideCustomizer |
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. |
| UpdateProjectVersionCustomizer |
AlignmentService.ResponseCustomizer that changes the project version
The heavy lifting is actually done by VersionCalculator |
| WithCustomizersDelegatingAlignmentService |
An implementation of
AlignmentService that
delegates to another AlignmentService. |