Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

bld Checkstyle Extension

License

NotificationsYou must be signed in to change notification settings

rife2/bld-checkstyle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checkstyle Extension forbld

LicenseJavabldReleaseSnapshotGitHub CI

To install the latest version, add the following to thelib/bld/bld-wrapper.properties file:

bld.extension-checkstyle=com.uwyn.rife2:bld-checkstyle

For more information, please refer to theextensions documentation.

Check Source Code with Checkstyle

To check your code with Chesktyle, include the following in your build file:

@BuildCommand(summary ="Check code style")publicvoidcheckstyle()throwsException {newCheckstyleOperation()            .fromProject(this)            .configurationFile("config/sun_checks.xml")            .execute();}
./bld checkstyle

Please check theCheckstyleOperation documentationfor all available configuration options.

Checkstyle Dependency

Don't forget to add a Checkstyletest dependency to your build file, as it isnot provided by the extension. For example:

repositories =List.of(MAVEN_CENTRAL);scope(test).include(dependency("com.puppycrawl.tools","checkstyle",version(10,21,4)));

[8]ページ先頭

©2009-2025 Movatter.jp