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_IDFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyMaven(GeneratorContext generatorContext, DevelocityConfiguration server) @NonNull StringgetName()The name of the feature.@NonNull StringgetTitle()protected GradlePlugingradlePlugin(DevelocityConfiguration configuration) booleanSome 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, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface io.micronaut.starter.feature.build.DevelocityConfiguration
aggreeWithTermsOfService, allowTrustedServer, getTermsOfServiceUrlMethods 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:FeatureThe name of the feature. It must be unique.- Specified by:
getNamein interfaceFeature- Specified by:
getNamein interfaceio.micronaut.core.naming.Named- Overrides:
getNamein classDevelocity- Returns:
- the name of the feature
-
getTitle
- Specified by:
getTitlein interfaceFeature- Overrides:
getTitlein classDevelocity- Returns:
- The title of the feature
-
isVisible
public boolean isVisible()Description copied from interface:FeatureSome 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:
applyMavenin classDevelocity
-
gradlePlugin
- Overrides:
gradlePluginin classDevelocity
-
pluginsManagementRepositories
-