public class MavenRepositorySpec extends RepositorySpec
| Constructor and Description |
|---|
MavenRepositorySpec(java.lang.String pName,
java.lang.String pUrl)
Create a new
MavenRepositorySpec. |
| Modifier and Type | Method and Description |
|---|---|
void |
prettyPrint(GradlePrettyPrinter pPrinter)
Pretty print this instance with a
GradlePrettyPrinter on a format suitable for build
scripts. |
getCredentials, getName, getUrl, prettyPrintRepositories, printClosureBody, setCredentialsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitquotepublic MavenRepositorySpec(java.lang.String pName,
java.lang.String pUrl)
MavenRepositorySpec.pName - The repository's name.pUrl - The repository's url.java.lang.NullPointerException - if pName is null.public void prettyPrint(GradlePrettyPrinter pPrinter)
PrettyPrintableGradlePrettyPrinter on a format suitable for build
scripts.pPrinter - The printer to print with.