Skip to content

Empty layers of LayeredArchitecture in multi-module project #267

Description

@xsveda

The 0.12.0 version forbids empty layers of LayeredArchitecture to avoid accidental misbehavior.

Unfortunately, this breaks our use-case where we use ArchUnit in multi-module project. Our project consists of approx. 60 gradle modules where all share the same LayeredArchitecture configuration. But not all modules have all the layers as i.e. some features just don't need to persist any data to database.

Currently we are not able to update to 0.12.0 version as this would force us to create and maintain separate LayeredArchitecture configuration for each of them.

Is there any other option we can leverage on in our use case?
If not, would it be possible to make this behavior configurable - enabled by default but allowed to be disabled?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions