Full name:
com.github.gantsign.maven:ktlint-maven-plugin:3.4.0:format
Description:
Attributes:
process-sources
.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 automatic code style fixes. Default value is: false .User property is: ktlint.skip . |
Name | Type | Since | Description |
---|---|---|---|
<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 . |
boolean
Yes
ktlint.android
false
boolean
Yes
ktlint.experimental
false
boolean
Yes
ktlint.includeScripts
true
boolean
Yes
ktlint.includeSources
true
boolean
Yes
ktlint.includeTestSources
true
java.util.List
No
ktlint.scriptRoots
${project.basedir.path}
java.util.Set
No
java.util.Set
No
*.kts
boolean
Yes
ktlint.skip
false
java.util.Set
No
java.util.Set
No
**/*.kt
java.util.Set
No
java.util.Set
No
**/*.kt