A while ago I released classycle-gradle-plugin, enabling easy integration of Classycle into Gradle builds. Classycle is a really great tool for static code analysis, especially checking for unwanted dependencies, cycles, etc.
I’ve just released a new version of the plugin. Since 1.2, it should work without problems with Gradle 2.14.1 (tested with 3.2.1 as well) and Java 7. Happy hacking, and thanks a ton to GitHub contributors!