kordamp/enforcer-gradle-plugin

Add rule to require person with roles

leonard84 opened this issue · 0 comments

Extending from #5 we'd like to be able to require that projects have to define people with roles.

For example:

rule(enforcer.rules.RequireRoles) { r ->
    r.requireRoles('build', 'run', 'plan')
}