Skip to content

Built-in support for per-sourceset configurable failure thresholds #90

@TheMrMilchmann

Description

@TheMrMilchmann

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.

Metadata

Metadata

Assignees

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