Checkstyle Maven Dependency

This page gives you a quick reference to get Checkstyle dependency for Maven or Gradle projects. You can also download the Checkstyle jar dependency, the link given at the "Download JAR File" section.

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard.

Checkstyle Maven Dependency

Copy below Checkstyle maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/com.puppycrawl.tools/checkstyle -->
<dependency>
    <groupId>com.puppycrawl.tools</groupId>
    <artifactId>checkstyle</artifactId>
    <version>8.27</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

Checkstyle Gradle Dependency

Copy below Checkstyle Gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/com.puppycrawl.tools/checkstyle
compile group: 'com.puppycrawl.tools', name: 'checkstyle', version: '8.27'

Download JAR File

Check for Latest Release

Reference

Comments