I am trying to use the checkstyle plugin, following the documentation (https://docs.gradle.org/current/userguide/checkstyle_plugin.html).
It says to simply add
apply plugin: 'checkstyle' to the build script, and a few tasks should be added to the project (e.g. “checkStyleMain”).
In my case, after I add the line and run
./gradlew tasks, I don’t get those new tasks.
Is there something I am missing?