Flow Scope
Augments the cached work graph with dataflow actions, anonymous, parameterized and isolated pieces of work that are triggered solely based on the availability of their input parameters.
An instance of this type can be injected into a task, plugin or other object by annotating a public constructor or property getter method with javax.inject.Inject.
Since
8.1
Types
Link copied to clipboard
Represents a registered dataflow action.
Functions
Link copied to clipboard
abstract fun <P : FlowParameters?> always(action: Class<out FlowAction<P>>, configure: Action<in FlowActionSpec<P>>): FlowScope.Registration<P>
Registers a dataflow action that's always part of the dataflow graph.
Link copied to clipboard
inline fun <P : FlowParameters> FlowScope.always(action: KClass<out FlowAction<P>>, configure: Action<in FlowActionSpec<P>>): FlowScope.Registration<P>
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.flow.FlowScope.always.