It would be nice if we could configure different failure thresholds per sourcesets. My use case would be permitting low-priority violations in tests. This is somewhat possible by manually wiring up an extra EnforceArchRulesTask (and excluding the test source-set from the standard logic), but this feels a bit hacky and like something that should be supported out of the box.
Introducing a mechanism for per-sourceset configuration would give far greater freedom and would blend naturally with Gradle's NamedDomainObjectCollection API.
It would be nice if we could configure different failure thresholds per sourcesets. My use case would be permitting low-priority violations in tests. This is somewhat possible by manually wiring up an extra
EnforceArchRulesTask(and excluding the test source-set from the standard logic), but this feels a bit hacky and like something that should be supported out of the box.Introducing a mechanism for per-sourceset configuration would give far greater freedom and would blend naturally with Gradle's
NamedDomainObjectCollectionAPI.