Interface FluxoConfigurationExtensionKotlin
-
- All Implemented Interfaces:
-
fluxo.conf.dsl.FluxoConfigurationExtensionCommon,fluxo.conf.dsl.FluxoConfigurationExtensionKotlinOptions
public interface FluxoConfigurationExtensionKotlin implements FluxoConfigurationExtensionKotlinOptions
-
-
Method Summary
Modifier and Type Method Description UnitonConfiguration(Function1<KotlinProjectExtension, Unit> action)Lazy, skippable Gradle project configuration. UnitapiValidation(Function1<BinaryCompatibilityValidatorConfig, Unit> configure)Configure the KotlinX BinaryCompatibilityValidator plugin. abstract Function1<KotlinProjectExtension, Unit>getOnConfiguration()abstract UnitsetOnConfiguration(Function1<KotlinProjectExtension, Unit> onConfiguration)abstract BooleangetAddStdlibDependency()Flag to add Kotlin stdlibdependency explicitly.abstract UnitsetAddStdlibDependency(Boolean addStdlibDependency)Flag to add Kotlin stdlibdependency explicitly.abstract BooleangetSetupCoroutines()Flag to configure Kotlin coroutines dependencies and opt-ins. abstract UnitsetSetupCoroutines(Boolean setupCoroutines)Flag to configure Kotlin coroutines dependencies and opt-ins. abstract BooleangetSetupKotlinXSerialization()Set up basic KotlinX serialization dependencies. abstract UnitsetSetupKotlinXSerialization(Boolean setupKotlinXSerialization)Set up basic KotlinX serialization dependencies. abstract BooleangetSetupKsp()Flag to set up the KSP plugin. abstract UnitsetSetupKsp(Boolean setupKsp)Flag to set up the KSP plugin. abstract BooleangetSetupKapt()Flag to set up the Kapt plugin. abstract UnitsetSetupKapt(Boolean setupKapt)Flag to set up the Kapt plugin. abstract BooleangetEnableCompose()Flag to enable the Compose feature. abstract UnitsetEnableCompose(Boolean enableCompose)Flag to enable the Compose feature. abstract BooleangetSuppressKotlinComposeCompatibilityCheck()Turn on the suppressKotlinVersionCompatibilityCheckfor Compose.abstract UnitsetSuppressKotlinComposeCompatibilityCheck(Boolean suppressKotlinComposeCompatibilityCheck)Turn on the suppressKotlinVersionCompatibilityCheckfor Compose.abstract BooleangetEnableApiValidation()Flag to turn on the KotlinX BinaryCompatibilityValidator plugin. abstract UnitsetEnableApiValidation(Boolean enableApiValidation)Flag to turn on the KotlinX BinaryCompatibilityValidator plugin. abstract BinaryCompatibilityValidatorConfiggetApiValidation()Return the KotlinX BinaryCompatibilityValidator plugin configuration. abstract UnitsetApiValidation(BinaryCompatibilityValidatorConfig apiValidation)Return the KotlinX BinaryCompatibilityValidator plugin configuration. abstract BooleangetUseDokka()Flag to use the KotlinX Dokka plugin as a documentation artifact generator. abstract UnitsetUseDokka(Boolean useDokka)Flag to use the KotlinX Dokka plugin as a documentation artifact generator. -
Methods inherited from class fluxo.conf.dsl.FluxoConfigurationExtensionKotlinOptions
explicitApi, explicitApiWarning, getAllWarningsAsErrors, getExperimentalLatestCompilation, getExplicitApi, getJavaLangTarget, getJavaParameters, getJavaTestsLangTarget, getJvmTarget, getKotlinApiVersion, getKotlinCoreLibraries, getKotlinLangVersion, getKotlinTestsLangVersion, getLatestSettingsForTests, getOptInInternal, getOptIns, getProgressiveMode, getRemoveAssertionsInRelease, getSetupJvmToolchain, getSetupKotlin, getUseExperimentalFastJarFs, getUseIndyLambdas, setAllWarningsAsErrors, setExperimentalLatestCompilation, setExplicitApi, setJavaLangTarget, setJavaParameters, setJavaTestsLangTarget, setJvmTarget, setKotlinApiVersion, setKotlinCoreLibraries, setKotlinLangVersion, setKotlinTestsLangVersion, setLatestSettingsForTests, setOptInInternal, setOptIns, setProgressiveMode, setRemoveAssertionsInRelease, setSetupJvmToolchain, setSetupKotlin, setUseExperimentalFastJarFs, setUseIndyLambdas -
Methods inherited from class fluxo.conf.dsl.FluxoConfigurationExtensionCommon
getEnableBuildConfig, getEnableDetektAutoCorrect, getEnableDetektCompilerPlugin, getEnableSpotless, getEnableVerification, getSetupDependencies, getSetupKnownBoms, getSetupVerification, setEnableBuildConfig, setEnableDetektAutoCorrect, setEnableDetektCompilerPlugin, setEnableSpotless, setEnableVerification, setSetupDependencies, setSetupKnownBoms, setSetupVerification -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onConfiguration
Unit onConfiguration(Function1<KotlinProjectExtension, Unit> action)
Lazy, skippable Gradle project configuration. Only applied if the project is configured with at least one Kotlin target.
-
apiValidation
Unit apiValidation(Function1<BinaryCompatibilityValidatorConfig, Unit> configure)
Configure the KotlinX BinaryCompatibilityValidator plugin. Switches on the enableApiValidation flag on call.
-
getOnConfiguration
abstract Function1<KotlinProjectExtension, Unit> getOnConfiguration()
-
setOnConfiguration
abstract Unit setOnConfiguration(Function1<KotlinProjectExtension, Unit> onConfiguration)
-
getAddStdlibDependency
abstract Boolean getAddStdlibDependency()
Flag to add Kotlin
stdlibdependency explicitly.Kotlin adds it automatically itself by default, if not turned off bythe
kotlin.stdlib.default.dependencygradle property. But this property provides per-project control.Inherited from the parent project if not set. Default value:
false.
-
setAddStdlibDependency
abstract Unit setAddStdlibDependency(Boolean addStdlibDependency)
Flag to add Kotlin
stdlibdependency explicitly.Kotlin adds it automatically itself by default, if not turned off bythe
kotlin.stdlib.default.dependencygradle property. But this property provides per-project control.Inherited from the parent project if not set. Default value:
false.
-
getSetupCoroutines
abstract Boolean getSetupCoroutines()
Flag to configure Kotlin coroutines dependencies and opt-ins.
Inherited from the parent project if not set. Default value:
false.
-
setSetupCoroutines
abstract Unit setSetupCoroutines(Boolean setupCoroutines)
Flag to configure Kotlin coroutines dependencies and opt-ins.
Inherited from the parent project if not set. Default value:
false.
-
getSetupKotlinXSerialization
abstract Boolean getSetupKotlinXSerialization()
Set up basic KotlinX serialization dependencies.
Inherited from the parent project if not set. Default value:
false.
-
setSetupKotlinXSerialization
abstract Unit setSetupKotlinXSerialization(Boolean setupKotlinXSerialization)
Set up basic KotlinX serialization dependencies.
Inherited from the parent project if not set. Default value:
false.
-
getSetupKsp
abstract Boolean getSetupKsp()
Flag to set up the KSP plugin.
-
setSetupKsp
abstract Unit setSetupKsp(Boolean setupKsp)
Flag to set up the KSP plugin.
-
getSetupKapt
abstract Boolean getSetupKapt()
Flag to set up the Kapt plugin.
-
setSetupKapt
abstract Unit setSetupKapt(Boolean setupKapt)
Flag to set up the Kapt plugin.
-
getEnableCompose
abstract Boolean getEnableCompose()
Flag to enable the Compose feature. Uses native capability for Android modules, multiplatform JetBrains Compose otherwise.
-
setEnableCompose
abstract Unit setEnableCompose(Boolean enableCompose)
Flag to enable the Compose feature. Uses native capability for Android modules, multiplatform JetBrains Compose otherwise.
-
getSuppressKotlinComposeCompatibilityCheck
abstract Boolean getSuppressKotlinComposeCompatibilityCheck()
Turn on the
suppressKotlinVersionCompatibilityCheckfor Compose. It prevents the Compose compiler from checking the Kotlin version.Inherited from the parent project if not set. Default value:
false.
-
setSuppressKotlinComposeCompatibilityCheck
abstract Unit setSuppressKotlinComposeCompatibilityCheck(Boolean suppressKotlinComposeCompatibilityCheck)
Turn on the
suppressKotlinVersionCompatibilityCheckfor Compose. It prevents the Compose compiler from checking the Kotlin version.Inherited from the parent project if not set. Default value:
false.
-
getEnableApiValidation
abstract Boolean getEnableApiValidation()
Flag to turn on the KotlinX BinaryCompatibilityValidator plugin.
API dump is also used to generate R8/ProGuard keep rules!
Default value:
true.
-
setEnableApiValidation
abstract Unit setEnableApiValidation(Boolean enableApiValidation)
Flag to turn on the KotlinX BinaryCompatibilityValidator plugin.
API dump is also used to generate R8/ProGuard keep rules!
Default value:
true.
-
getApiValidation
abstract BinaryCompatibilityValidatorConfig getApiValidation()
Return the KotlinX BinaryCompatibilityValidator plugin configuration. Switches on the enableApiValidation flag on access.
-
setApiValidation
abstract Unit setApiValidation(BinaryCompatibilityValidatorConfig apiValidation)
Return the KotlinX BinaryCompatibilityValidator plugin configuration. Switches on the enableApiValidation flag on access.
-
getUseDokka
abstract Boolean getUseDokka()
Flag to use the KotlinX Dokka plugin as a documentation artifact generator.
Inherited from the parent project if not set. Default value:
true.
-
setUseDokka
abstract Unit setUseDokka(Boolean useDokka)
Flag to use the KotlinX Dokka plugin as a documentation artifact generator.
Inherited from the parent project if not set. Default value:
true.
-
-
-
-