Note:This goal should be used as a Maven report.
Full name:
com.github.gantsign.maven:ktlint-maven-plugin:3.5.0:ktlint
Description:
ktlint analysis and
generates a HTML report on any violations that ktlint
finds.Attributes:
verify.| Name | Type | Since | Description |
|---|---|---|---|
<android> |
boolean |
- |
Enable Android Kotlin Style Guide compatibility. Default value is: false.User property is: ktlint.android. |
<experimental> |
boolean |
- |
Enable experimental rules (ktlint-ruleset-experimental). Default value is: false.User property is: ktlint.experimental. |
<includeScripts> |
boolean |
- |
Include scripts. Default value is: true.User property is: ktlint.includeScripts. |
<includeSources> |
boolean |
- |
Include the production source roots. Default value is: true.User property is: ktlint.includeSources. |
<includeTestSources> |
boolean |
- |
Include the test source roots. Default value is: true.User property is: ktlint.includeTestSources. |
<skip> |
boolean |
- |
Skips and code style checks. Default value is: false.User property is: ktlint.skip. |
<verbose> |
boolean |
- |
Show error codes. Default value is: false.User property is: ktlint.verbose. |
| Name | Type | Since | Description |
|---|---|---|---|
<encoding> |
String |
- |
File encoding of the Kotlin source files. Default value is: ${project.build.sourceEncoding}.User property is: encoding. |
<reporters> |
Set |
- |
A set of reporters to output the results to. |
<scriptRoots> |
List |
- |
A list of root directories containing Kotlin scripts. Default value is: ${project.basedir.path}.User property is: ktlint.scriptRoots. |
<scriptsExcludes> |
Set |
- |
A list of exclusion filters for scripts. |
<scriptsIncludes> |
Set |
- |
A list of inclusion filters for scripts. Default value is: *.kts. |
<sourcesExcludes> |
Set |
- |
A list of exclusion filters for the source files to be processed
under the source roots. |
<sourcesIncludes> |
Set |
- |
A list of inclusion filters for the source files to be processed
under the source roots. Default value is: **/*.kt. |
<testSourcesExcludes> |
Set |
- |
A list of exclusion filters for the source files to be processed
under the test source roots. |
<testSourcesIncludes> |
Set |
- |
A list of inclusion filters for the source files to be processed
under the test source roots. Default value is: **/*.kt. |
booleanYesktlint.androidfalsejava.lang.StringNoencoding${project.build.sourceEncoding}booleanYesktlint.experimentalfalsebooleanYesktlint.includeScriptstruebooleanYesktlint.includeSourcestruebooleanYesktlint.includeTestSourcestruejava.util.SetNojava.util.ListNoktlint.scriptRoots${project.basedir.path}java.util.SetNojava.util.SetNo*.ktsbooleanYesktlint.skipfalsejava.util.SetNojava.util.SetNo**/*.ktjava.util.SetNojava.util.SetNo**/*.ktbooleanYesktlint.verbosefalse