Skip to content

Latest commit

 

History

History
70 lines (40 loc) · 2.04 KB

README.md

File metadata and controls

70 lines (40 loc) · 2.04 KB

JSR 305 Checkstyle Plugin Build Status License: LGPL v2.1+

A checkstyle plugin which ensures nullness annotations on methods and constructors.

Requirements

  • JDK 8
  • checkstyle 6.16.1+

Usage

Copy JSR305Checkstyle-x.x.x.jar into your eclipse dropins directory or add it to the classpath of your checkstyle task.

Add this to your checkstyle.xml:

<module name="Jsr305Annotations">
    <property name="packages" value="your.package.path.to.check,another.package.path.to.check"/>
</module>

and enjoy

Development

It is a gradle project with included gradle wrapper.

To develop, import project to eclipse with default settings after typing:

./gradlew eclipse

To build the jar type:

./gradlew jar

Release

This project uses an annotated git tag to get the version number. To release you have to:

License

This plugin was original licensed under GPL but is now relicensed under LGPL v2.1 or above. See LICENSE