Gradle plugin & Maven Enforcer rule that restricts usage of unwanted imports in Java, Kotlin and Groovy source files.
Why do you think that https://github.com/ThiccIndustries/Minecraft-Backdoor is a good alternative to restrict-imports-enforcer-rule