Package fluxo.conf.dsl.container
Interface KotlinConfigurationContainerDsl
-
- All Implemented Interfaces:
-
fluxo.conf.dsl.container.target.AndroidTarget.Configure,fluxo.conf.dsl.container.target.JvmTarget.Configure
public interface KotlinConfigurationContainerDsl<KPE extends KotlinProjectExtension> implements JvmTarget.Configure, AndroidTarget.Configure
-
-
Method Summary
Modifier and Type Method Description abstract <T extends KotlinTargetContainer<KotlinTarget>> UnitonTarget(Class<T> type, Action<in T> action)Executes the given action for all KotlinTargets of the given type. UnitonAndroidTarget(Action<in AndroidTarget<?>> action)Executes the given action for all AndroidTargets. abstract Unitcommon(Function1<Container, Unit> action)Executes the given action for the Kotlin module with any target enabled. abstract Unitkotlin(Function1<KPE, Unit> action)Executes the given action for the Kotlin module with any target enabled. -
Methods inherited from class fluxo.conf.dsl.container.target.JvmTarget.Configure
jvm -
Methods inherited from class fluxo.conf.dsl.container.target.AndroidTarget.Configure
android, androidApp, androidLibrary -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onTarget
abstract <T extends KotlinTargetContainer<KotlinTarget>> Unit onTarget(Class<T> type, Action<in T> action)
-
onAndroidTarget
Unit onAndroidTarget(Action<in AndroidTarget<?>> action)
Executes the given action for all AndroidTargets.
-
common
abstract Unit common(Function1<Container, Unit> action)
Executes the given action for the Kotlin module with any target enabled. action can apply plugins via Container.applyPlugins and configure common settings.
-
-
-
-