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, classifier, exclusions, exclusions, groupId, scope, self, type, version
public 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.Builder
Dependency
with the current state of this builder.build
in class Dependency.Builder<GradleDependency.Builder>
Dependency
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.