LayerConfig

@Inject
constructor(name: String, declarationOrder: Int, objects: ObjectFactory)(source)

Parameters

name

The layer name, unique within the block.

declarationOrder

Zero-based position of this layer in the layers { } block. Gradle's named container iterates alphabetically, which would make an overlapping-pattern resolution - and the order the report draws the swimlanes in - depend on layer spelling rather than on how the architecture was written down. Aalekh sorts by this instead, so domain, data, presentation stays in that order everywhere.