Class GradlePlugin
java.lang.Object
io.micronaut.starter.build.gradle.GradlePlugin
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,BuildPlugin
-
Nested Class Summary
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionGradlePlugin
(@NonNull GradleFile gradleFile, @Nullable String id, @Nullable String version, @Nullable String artifactId, @Nullable Writable extension, @Nullable Writable settingsExtension, List<GradleRepository> pluginsManagementRepositories, boolean requiresLookup, int order, Set<String> buildImports) Deprecated, for removal: This API element is subject to removal in a future version.GradlePlugin
(@NonNull GradleFile gradleFile, @Nullable String id, @Nullable String version, @Nullable String artifactId, @Nullable Writable extension, @Nullable Writable settingsExtension, List<GradleRepository> pluginsManagementRepositories, boolean requiresLookup, int order, Set<String> buildImports, Set<String> settingsImports) -
Method Summary
Modifier and TypeMethodDescriptionstatic GradlePlugin.Builder
builder()
boolean
@NonNull BuildTool
@Nullable Writable
@NonNull GradleFile
@NonNull String
getId()
int
getOrder()
@NonNull List<GradleRepository>
@Nullable Writable
@Nullable String
int
hashCode()
static GradlePlugin
boolean
resolved
(CoordinateResolver coordinateResolver)
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
-
Constructor Details
-
GradlePlugin
@Deprecated(since="4.2.0", forRemoval=true) public GradlePlugin(@NonNull @NonNull GradleFile gradleFile, @Nullable @Nullable String id, @Nullable @Nullable String version, @Nullable @Nullable String artifactId, @Nullable @Nullable Writable extension, @Nullable @Nullable Writable settingsExtension, List<GradleRepository> pluginsManagementRepositories, boolean requiresLookup, int order, Set<String> buildImports) Deprecated, for removal: This API element is subject to removal in a future version. -
GradlePlugin
public GradlePlugin(@NonNull @NonNull GradleFile gradleFile, @Nullable @Nullable String id, @Nullable @Nullable String version, @Nullable @Nullable String artifactId, @Nullable @Nullable Writable extension, @Nullable @Nullable Writable settingsExtension, List<GradleRepository> pluginsManagementRepositories, boolean requiresLookup, int order, Set<String> buildImports, Set<String> settingsImports)
-
-
Method Details
-
of
-
getBuildImports
-
getSettingsImports
-
getGradleFile
-
getId
-
getVersion
-
getBuildTool
- Specified by:
getBuildTool
in interfaceBuildPlugin
-
getExtension
- Specified by:
getExtension
in interfaceBuildPlugin
-
getSettingsExtension
-
getPluginsManagementRepositories
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceio.micronaut.core.order.Ordered
-
requiresLookup
public boolean requiresLookup()- Specified by:
requiresLookup
in interfaceBuildPlugin
-
resolved
- Specified by:
resolved
in interfaceBuildPlugin
-
equals
-
hashCode
public int hashCode() -
builder
-