public interface Provisioner
Many spotless steps require third-party libraries, but we want to keep Spotless’ dependencies minimal.
Modifier and Type | Method and Description |
---|---|
default Set<File> |
provisionWithDependencies(Collection<String> mavenCoordinates)
Deprecated.
|
default Set<File> |
provisionWithDependencies(String... mavenCoordinates)
Deprecated.
|
Set<File> |
provisionWithTransitives(boolean withTransitives,
Collection<String> mavenCoordinates)
Given a set of Maven coordinates, returns a set of jars which include all
of the specified coordinates and optionally their transitive dependencies.
|
default Set<File> |
provisionWithTransitives(boolean withTransitives,
String... mavenCoordinates)
Given a set of Maven coordinates, returns a set of jars which include all
of the specified coordinates and optionally their transitive dependencies.
|
@Deprecated default Set<File> provisionWithDependencies(Collection<String> mavenCoordinates)
Method interface has been extended to provisionWithTransitives(boolean, Collection)
.
@Deprecated default Set<File> provisionWithDependencies(String... mavenCoordinates)
Method interface has been extended to provisionWithTransitives(boolean, String...)
.
default Set<File> provisionWithTransitives(boolean withTransitives, String... mavenCoordinates)
Given a set of Maven coordinates, returns a set of jars which include all of the specified coordinates and optionally their transitive dependencies.
Set<File> provisionWithTransitives(boolean withTransitives, Collection<String> mavenCoordinates)
Given a set of Maven coordinates, returns a set of jars which include all of the specified coordinates and optionally their transitive dependencies.