Im using Gradle 2.10 and I’m trying to use he checkstyle plugin with the lastest version of checkstyle which is 6.14.1
I get this message:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:checkstyleMain’.
Unable to create a Checker: configLocation {C:\Users\kec\workspace\XcodeCon3\CAGenEGL2JS\checkstyle.xml}, classpath {C:\Users\kec\workspace\XcodeCon
3\CAGenEGL2JS\build\classes\main;C:\Users\kec\workspace\XcodeCon3\CAGenEGL2JS\build\resources\main}.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
This isn’t a compatibility issue between checkstyle and the plugin. The checkstyle.xml file is just invalid.
EmptyForInitializerPad is a child module of TreeWalker and everything requires a root Checker module. You can’t just throw the EmptyForInitializerPad module out there without anything else.