Class GradleDependency
java.lang.Object
io.micronaut.starter.build.dependencies.DependencyCoordinate
io.micronaut.starter.build.gradle.GradleDependency
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,Coordinate
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionGradleDependency
(@NonNull Dependency dependency, @NonNull GeneratorContext generatorContext, boolean useVersionCatalogue) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NonNull GradleConfiguration
int
hashCode()
static @NonNull List<GradleDependency>
listOf
(GeneratorContext generatorContext, boolean useVersionCatalogue) static @NonNull List<GradleDependency>
listOf
(DependencyContext dependencyContext, GeneratorContext generatorContext, boolean useVersionCatalogue) @NonNull String
@NonNull String
Methods inherited from class io.micronaut.starter.build.dependencies.DependencyCoordinate
getArtifactId, getExclusions, getGroupId, getOrder, getSubstitutions, getVersion, isPom
-
Field Details
-
COMPARATOR
-
-
Constructor Details
-
GradleDependency
public GradleDependency(@NonNull @NonNull Dependency dependency, @NonNull @NonNull GeneratorContext generatorContext, boolean useVersionCatalogue)
-
-
Method Details
-
getConfiguration
-
equals
- Overrides:
equals
in classDependencyCoordinate
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDependencyCoordinate
-
toSnippet
-
mavenCoordinate
- Returns:
- Maven Coordinate surrounded by double quotes
-
versionCatalog
-
listOf
@NonNull public static @NonNull List<GradleDependency> listOf(GeneratorContext generatorContext, boolean useVersionCatalogue) -
listOf
@NonNull public static @NonNull List<GradleDependency> listOf(DependencyContext dependencyContext, GeneratorContext generatorContext, boolean useVersionCatalogue)
-