Class MicronautDevelocity
java.lang.Object
io.micronaut.starter.feature.build.Develocity
io.micronaut.starter.feature.build.MicronautDevelocity
- All Implemented Interfaces:
io.micronaut.core.naming.Described
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,DevelocityConfiguration
,Feature
@Requires(property="micronaut.starter.feature.micronaut.develocity.enabled",value="true",defaultValue="true") @Requires(property="micronaut.starter.feature.develocity.enabled",value="true",defaultValue="true")
@Singleton
public class MicronautDevelocity
extends Develocity
-
Field Summary
FieldsFields inherited from class io.micronaut.starter.feature.build.Develocity
DEVELOCITY_GRADLE_PLUGIN_ARTIFACT_ID, DEVELOCITY_PLUGIN_ID
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyMaven
(GeneratorContext generatorContext, DevelocityConfiguration server) @NonNull String
getName()
The name of the feature.@NonNull String
getTitle()
protected GradlePlugin
gradlePlugin
(DevelocityConfiguration configuration) boolean
Some features should not be visible to the user because they are a common parent of other selectable features, or they should always be applied, or any other reason.protected @NonNull List<GradleRepository>
Methods inherited from class io.micronaut.starter.feature.build.Develocity
addMavenTemplate, apply, getCategory, getDescription, getThirdPartyDocumentation, supports
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.starter.feature.build.DevelocityConfiguration
aggreeWithTermsOfService, allowTrustedServer, getTermsOfServiceUrl
Methods inherited from interface io.micronaut.starter.feature.Feature
getMicronautDocumentation, getOrder, isCommunity, isPreview, processSelectedFeatures
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
MicronautDevelocity
public MicronautDevelocity()
-
-
Method Details
-
getName
Description copied from interface:Feature
The name of the feature. It must be unique.- Specified by:
getName
in interfaceFeature
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
- Overrides:
getName
in classDevelocity
- Returns:
- the name of the feature
-
getTitle
- Specified by:
getTitle
in interfaceFeature
- Overrides:
getTitle
in classDevelocity
- Returns:
- The title of the feature
-
isVisible
public boolean isVisible()Description copied from interface:Feature
Some features should not be visible to the user because they are a common parent of other selectable features, or they should always be applied, or any other reason.- Returns:
- True if the feature should able to be selected by the user
-
getServer
-
applyMaven
- Overrides:
applyMaven
in classDevelocity
-
gradlePlugin
- Overrides:
gradlePlugin
in classDevelocity
-
pluginsManagementRepositories
-