# How to use Checkstyle plugin

**URL:** <https://discuss.gradle.org/t/how-to-use-checkstyle-plugin/29780>\
**Category:** Help/Discuss\
**Created:** [December 6, 2018, 11:00pm UTC](https://discuss.gradle.org/t/how-to-use-checkstyle-plugin/29780 "2018-12-06T23:00:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SebS](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@SebS](https://discuss.gradle.org/u/SebS)\
**Post date:** [December 6, 2018, 11:00pm UTC](https://discuss.gradle.org/t/how-to-use-checkstyle-plugin/29780/1 "2018-12-06T23:00:16Z")

</div>

Hi,  
I am using gradle 2.14.1 and trying to use the checkstyle plugin.

I have added the block  
apply plugin: ‘checkstyle’

But checkstyle is not installed when I run gradlew tasks.  
Has anyone come across this? Please provide direction.
