api / org.gradle.api.artifacts / ExcludeRuleContainer / getRules

getRules

abstract fun getRules(): MutableSet<ExcludeRule>

Returns all the exclude rules added to this container. If no exclude rules has been added an empty list is returned.