Merge pull request #7679 from thunderbird/fix-spotless-markdown
Fix Spotless markdown by excluding build folders
This commit is contained in:
commit
46ede7f20a
1 changed files with 6 additions and 1 deletions
|
@ -10,7 +10,11 @@ configure<SpotlessExtension> {
|
||||||
.setEditorConfigPath("$projectDir/.editorconfig")
|
.setEditorConfigPath("$projectDir/.editorconfig")
|
||||||
.editorConfigOverride(editorConfigOverride)
|
.editorConfigOverride(editorConfigOverride)
|
||||||
target("**/*.kt")
|
target("**/*.kt")
|
||||||
targetExclude("**/build/", "**/resources/", "plugins/openpgp-api-lib/")
|
targetExclude(
|
||||||
|
"**/build/",
|
||||||
|
"**/resources/",
|
||||||
|
"plugins/openpgp-api-lib/",
|
||||||
|
)
|
||||||
}
|
}
|
||||||
kotlinGradle {
|
kotlinGradle {
|
||||||
ktlint(libs.versions.ktlint.get())
|
ktlint(libs.versions.ktlint.get())
|
||||||
|
@ -25,6 +29,7 @@ configure<SpotlessExtension> {
|
||||||
targetExclude(
|
targetExclude(
|
||||||
"plugins/openpgp-api-lib/",
|
"plugins/openpgp-api-lib/",
|
||||||
"app-k9mail/fastlane/README.md",
|
"app-k9mail/fastlane/README.md",
|
||||||
|
"**/build/",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
format("misc") {
|
format("misc") {
|
||||||
|
|
Loading…
Reference in a new issue