Interface Provisioner


public interface Provisioner
Many spotless steps require third-party libraries, but we want to keep Spotless' dependencies minimal.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
  • Method Details

    • provisionWithTransitives

      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.
    • provisionWithTransitives

      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.