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?
The
0.12.0version 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.0version 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?