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

Separate file parsing from banned import analysis #30

Closed skuzzle closed 5 years ago

skuzzle commented 5 years ago

Currently, the ImportMatcher class has multiple concerns:

These concerns should be split up into multiple classes so that parsing and checking for banned imports become separate processes.

skuzzle commented 5 years ago

Change for 0.18.0