circuit

fun circuit(codegen: Boolean = true, runtime: Boolean = true, commonBundle: Boolean = true, foundation: Boolean = false, action: Action<CircuitHandler> = Action {})(source)

Configures Circuit on this project.

Parameters

codegen

configures code gen on this project, including KSP setup and annotations. True by default.

runtime

configures the circuit-runtime dependencies, including screen/ui/presenter. True by default.

commonBundle

configures the project-common dependencies, defined by the circuit-common bundle ID in libs.versions.toml. True by default.

foundation

configures the circuit-foundation dependency, false by default.

action

optional configuration block for further Circuit config, such as CircuitX.