Interface Provisioner


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

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Set<java.io.File> provisionWithTransitives​(boolean withTransitives, java.lang.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.
      java.util.Set<java.io.File> provisionWithTransitives​(boolean withTransitives, java.util.Collection<java.lang.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 Detail

      • provisionWithTransitives

        default java.util.Set<java.io.File> provisionWithTransitives​(boolean withTransitives,
                                                                     java.lang.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

        java.util.Set<java.io.File> provisionWithTransitives​(boolean withTransitives,
                                                             java.util.Collection<java.lang.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.