public interface ImportsHandler
Modifier and Type | Method and Description |
---|---|
void |
mavenBom(String coordinates)
Imports the Maven bom with the given
coordinates in the form group:name:version . |
void |
mavenBom(String coordinates,
Action<MavenBomHandler> action)
Imports the Maven bom with the given
coordinates in the form group:name:version . |
void |
mavenBom(String coordinates,
Closure closure)
Imports the Maven bom with the given
coordinates in the form group:name:version . |
void mavenBom(String coordinates)
coordinates
in the form group:name:version
.coordinates
- the bom's coordinatesvoid mavenBom(String coordinates, Closure closure)
coordinates
in the form group:name:version
. The import
is customized using the given closure
which is called with a MavenBomHandler
as its delegate.coordinates
- the bom's coordinatesclosure
- the closureMavenBomHandler
void mavenBom(String coordinates, Action<MavenBomHandler> action)
coordinates
in the form group:name:version
. The import
is customized using the given action
.coordinates
- the bom's coordinatesaction
- the action