Pretty printer for DependencySpec.
| Constructor and description |
|---|
DependencyPrettyPrinter
(java.io.PrintWriter pWriter)Create a new DependencyPrettyPrinter. |
| Type | Name and description |
|---|---|
void |
printArtifact(ArtifactSpec pArtifact)Pretty print an ArtifactSpec on closure format. |
void |
printDependencies(java.util.Collection<DependencySpec> pDependencies)Pretty print a collection of dependency specifications on Gradle map notation. |
void |
printDependency(DependencySpec pDependency)Pretty print a DependencySpec on map notation. |
| Methods inherited from class | Name |
|---|---|
class GradlePrettyPrinter |
printClosureEnd, printClosureStart, printIndentation, printIndentedLine, printKeyValue, printNameAndArgs, printSingleLineClosure, quote |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a new DependencyPrettyPrinter.
pWriter is null.pWriter - The writer to delegate the printing to. Pretty print an ArtifactSpec on closure format.
pArtifact - The artifact.Pretty print a collection of dependency specifications on Gradle map notation.
pDependencies - The dependencies to print. Pretty print a DependencySpec on map notation.
pDependency - The dependency.