skuzzle / restrict-imports-enforcer-rule

Gradle plugin & Maven Enforcer rule that restricts usage of unwanted imports in Java, Kotlin and Groovy source files.
MIT License
75 stars 12 forks source link

Wildcard pattern must match at lease one part #77

Closed skuzzle closed 1 year ago

skuzzle commented 1 year ago

Prior to this change it was possible that the wildcard matched no part if the next part in the pattern after the wildcard would match the next part in the package we compare against.

Fixes #76