Customizer that allows dependencies to be added during compilation. Adding a dependency
results in a @Grab annotation being added to the primary class is the module that's being customized.
This class provides a fluent API for conditionally adding dependencies. For example:
dependencies.ifMissing("com.corp.SomeClass").add(module).
Add dependencies and all of their dependencies. The group ID and version of the
dependencies are resolved from the modules using the customizer's
ArtifactCoordinatesResolver.
Add a single dependency and, optionally, all of its dependencies. The group ID and
version of the dependency are resolved from the module using the customizer's
ArtifactCoordinatesResolver.
Parameters:
module - the module ID
transitive - true if the transitive dependencies should also be added,
otherwise false
Add a single dependency with the specified classifier and type and, optionally, all
of its dependencies. The group ID and version of the dependency are resolved from
the module by using the customizer's ArtifactCoordinatesResolver.
Parameters:
module - the module ID
classifier - the classifier, may be null
type - the type, may be null
transitive - true if the transitive dependencies should also be added,
otherwise false