architecture

abstract fun architecture(layerDependenciesFunc: LayerDependencies.() -> Unit): LayerDependencies

Creates and returns a LayerDependencies instance representing the configured dependencies of the architecture, defined as a function literal with receiver LayerDependencies.

Return

A LayerDependencies instance representing the configured dependencies of the architecture.

Parameters

layerDependenciesFunc

The function literal with receiver LayerDependencies that allows configuring the dependencies of the architecture.