kordamp / enforcer-gradle-plugin

Kordamp Enforcer Gradle Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add rule to require person with roles

leonard84 opened this issue · 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')
}