public class GradleDependency extends DependencyCoordinate
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<GradleDependency> |
COMPARATOR |
Constructor and Description |
---|
GradleDependency(Dependency dependency,
GeneratorContext generatorContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
GradleConfiguration |
getConfiguration() |
int |
hashCode() |
static java.util.List<GradleDependency> |
listOf(DependencyContext dependencyContext,
GeneratorContext generatorContext) |
static java.util.List<GradleDependency> |
listOf(GeneratorContext generatorContext) |
java.lang.String |
toSnippet() |
getArtifactId, getExclusions, getGroupId, getOrder, getSubstitutions, getVersion, isPom
public static final java.util.Comparator<GradleDependency> COMPARATOR
public GradleDependency(@NonNull Dependency dependency, @NonNull GeneratorContext generatorContext)
@NonNull public GradleConfiguration getConfiguration()
public boolean equals(java.lang.Object o)
equals
in class DependencyCoordinate
public int hashCode()
hashCode
in class DependencyCoordinate
@NonNull public java.lang.String toSnippet()
@NonNull public static java.util.List<GradleDependency> listOf(GeneratorContext generatorContext)
@NonNull public static java.util.List<GradleDependency> listOf(DependencyContext dependencyContext, GeneratorContext generatorContext)