Pretty printer for RepositorySpec.
| Constructor and description |
|---|
RepositoryPrettyPrinter
(java.io.PrintWriter pWriter)Create a new RepositoryPrettyPrinter. |
| Type | Name and description |
|---|---|
void |
printRepositories(java.util.Collection<RepositorySpec> pRepositories)Pretty print a collection of repository specifications on Gradle repository closure format. |
void |
printRepository(RepositorySpec pRepository)Pretty print a RepositorySpec on repository closure format. |
| 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 RepositoryPrettyPrinter.
pWriter is null.pWriter - The writer to delegate the printing to.Pretty print a collection of repository specifications on Gradle repository closure format.
pRepositories - The repositories to print. Pretty print a RepositorySpec on repository closure format.
pRepository - The repository.