public static class GradleDependency.Builder extends Dependency.Builder<GradleDependency.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(String groupId,
String artifactId) |
| Modifier and Type | Method and Description |
|---|---|
GradleDependency |
build()
Build a
Dependency with the current state of this builder. |
GradleDependency.Builder |
configuration(String configuration)
Specify the configuration to use for the dependency.
|
protected GradleDependency.Builder |
initialize(Dependency dependency) |
artifactId, exclusions, exclusions, groupId, scope, self, type, versionpublic GradleDependency.Builder configuration(String configuration)
configuration - the name of the configuration to useprotected GradleDependency.Builder initialize(Dependency dependency)
initialize in class Dependency.Builder<GradleDependency.Builder>public GradleDependency build()
Dependency.BuilderDependency with the current state of this builder.build in class Dependency.Builder<GradleDependency.Builder>DependencyCopyright © 2019 Pivotal Software, Inc.. All rights reserved.