public class GradleDependency extends Dependency
Dependency.| Modifier and Type | Class and Description |
|---|---|
static class |
GradleDependency.Builder
Builder for a Gradle dependency.
|
Dependency.Exclusion| Modifier | Constructor and Description |
|---|---|
protected |
GradleDependency(GradleDependency.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static GradleDependency.Builder |
from(Dependency dependency)
Initialize a new dependency
GradleDependency.Builder with the state of the specified
Dependency. |
String |
getConfiguration()
Return the configuration to use for the dependency.
|
static GradleDependency.Builder |
withCoordinates(String groupId,
String artifactId)
Initialize a new dependency
GradleDependency.Builder with the specified coordinates. |
getArtifactId, getClassifier, getExclusions, getGroupId, getScope, getType, getVersionprotected GradleDependency(GradleDependency.Builder builder)
public static GradleDependency.Builder withCoordinates(String groupId, String artifactId)
GradleDependency.Builder with the specified coordinates.groupId - the group ID of the dependencyartifactId - the artifact ID of the dependencypublic static GradleDependency.Builder from(Dependency dependency)
GradleDependency.Builder with the state of the specified
Dependency.dependency - the dependency to use to initialize the builderdependencyCopyright © 2021 Pivotal Software, Inc.. All rights reserved.