Interface FluxoConfigurationExtensionCommon
-
- All Implemented Interfaces:
public interface FluxoConfigurationExtensionCommon
-
-
Method Summary
Modifier and Type Method Description abstract BooleangetSetupDependencies()Flag that allows to disable dependency setup completely. abstract UnitsetSetupDependencies(Boolean setupDependencies)Flag that allows to disable dependency setup completely. abstract BooleangetSetupKnownBoms()Flag to add the supported BOM dependencies automatically from the toml version catalog on configuration of the project. abstract UnitsetSetupKnownBoms(Boolean setupKnownBoms)Flag to add the supported BOM dependencies automatically from the toml version catalog on configuration of the project. abstract BooleangetEnableBuildConfig()Flag to enable generation of the BuildConfigclass for this module.abstract UnitsetEnableBuildConfig(Boolean enableBuildConfig)Flag to enable generation of the BuildConfigclass for this module.abstract BooleangetSetupVerification()Flag to turn on ALL the set of verification features, like Detekt, Spotless, and so on. abstract UnitsetSetupVerification(Boolean setupVerification)Flag to turn on ALL the set of verification features, like Detekt, Spotless, and so on. BooleangetEnableVerification()UnitsetEnableVerification(Boolean enableVerification)abstract BooleangetEnableDetektCompilerPlugin()Flag to turn on the Detekt compiler plugin. abstract UnitsetEnableDetektCompilerPlugin(Boolean enableDetektCompilerPlugin)Flag to turn on the Detekt compiler plugin. abstract BooleangetEnableDetektAutoCorrect()Flag to turn on the Detekt autocorrect feature. abstract UnitsetEnableDetektAutoCorrect(Boolean enableDetektAutoCorrect)Flag to turn on the Detekt autocorrect feature. abstract BooleangetEnableSpotless()Flag to turn on the Spotless setup. abstract UnitsetEnableSpotless(Boolean enableSpotless)Flag to turn on the Spotless setup. -
-
Method Detail
-
getSetupDependencies
abstract Boolean getSetupDependencies()
Flag that allows to disable dependency setup completely.
Inherited from the parent project if not set. Default value:
false.
-
setSetupDependencies
abstract Unit setSetupDependencies(Boolean setupDependencies)
Flag that allows to disable dependency setup completely.
Inherited from the parent project if not set. Default value:
false.
-
getSetupKnownBoms
abstract Boolean getSetupKnownBoms()
Flag to add the supported BOM dependencies automatically from the toml version catalog on configuration of the project.
Don't use it for libraries, only for the final app!
Inherited from the parent project if not set. Default value:
false.
-
setSetupKnownBoms
abstract Unit setSetupKnownBoms(Boolean setupKnownBoms)
Flag to add the supported BOM dependencies automatically from the toml version catalog on configuration of the project.
Don't use it for libraries, only for the final app!
Inherited from the parent project if not set. Default value:
false.
-
getEnableBuildConfig
abstract Boolean getEnableBuildConfig()
Flag to enable generation of the
BuildConfigclass for this module. Uses native capability for Android-only modules, gradle plugin otherwise.Set default with
android.defaults.buildfeatures.buildconfigproperty, false if not set.
-
setEnableBuildConfig
abstract Unit setEnableBuildConfig(Boolean enableBuildConfig)
Flag to enable generation of the
BuildConfigclass for this module. Uses native capability for Android-only modules, gradle plugin otherwise.Set default with
android.defaults.buildfeatures.buildconfigproperty, false if not set.
-
getSetupVerification
abstract Boolean getSetupVerification()
Flag to turn on ALL the set of verification features, like Detekt, Spotless, and so on.
Inherited from the parent project if not set. Default value:
true.
-
setSetupVerification
abstract Unit setSetupVerification(Boolean setupVerification)
Flag to turn on ALL the set of verification features, like Detekt, Spotless, and so on.
Inherited from the parent project if not set. Default value:
true.
-
getEnableVerification
Boolean getEnableVerification()
-
setEnableVerification
Unit setEnableVerification(Boolean enableVerification)
-
getEnableDetektCompilerPlugin
abstract Boolean getEnableDetektCompilerPlugin()
Flag to turn on the Detekt compiler plugin. IT MAY BE HIGHLY UNSTABLE!
Can be disabled by the setupVerification flag.
Inherited from the parent project if not set. Default value:
false.
-
setEnableDetektCompilerPlugin
@Incubating() abstract Unit setEnableDetektCompilerPlugin(Boolean enableDetektCompilerPlugin)
Flag to turn on the Detekt compiler plugin. IT MAY BE HIGHLY UNSTABLE!
Can be disabled by the setupVerification flag.
Inherited from the parent project if not set. Default value:
false.
-
getEnableDetektAutoCorrect
abstract Boolean getEnableDetektAutoCorrect()
Flag to turn on the Detekt autocorrect feature.
Disabled by default as can lead to compatibility errors before every tool is compatible with the latest Kotlin updates.
Inherited from the parent project if not set. Default value:
false.
-
setEnableDetektAutoCorrect
@Incubating() abstract Unit setEnableDetektAutoCorrect(Boolean enableDetektAutoCorrect)
Flag to turn on the Detekt autocorrect feature.
Disabled by default as can lead to compatibility errors before every tool is compatible with the latest Kotlin updates.
Inherited from the parent project if not set. Default value:
false.
-
getEnableSpotless
abstract Boolean getEnableSpotless()
Flag to turn on the Spotless setup. Can be disabled by the setupVerification flag.
Inherited from the parent project if not set. Default value:
false.
-
setEnableSpotless
abstract Unit setEnableSpotless(Boolean enableSpotless)
Flag to turn on the Spotless setup. Can be disabled by the setupVerification flag.
Inherited from the parent project if not set. Default value:
false.
-
-
-
-