Merge pull request #7679 from thunderbird/fix-spotless-markdown

Fix Spotless markdown by excluding build folders
This commit is contained in:
Wolf-Martell Montwé 2024-02-28 14:43:11 +00:00 committed by GitHub
commit 46ede7f20a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,11 @@ configure<SpotlessExtension> {
.setEditorConfigPath("$projectDir/.editorconfig")
.editorConfigOverride(editorConfigOverride)
target("**/*.kt")
targetExclude("**/build/", "**/resources/", "plugins/openpgp-api-lib/")
targetExclude(
"**/build/",
"**/resources/",
"plugins/openpgp-api-lib/",
)
}
kotlinGradle {
ktlint(libs.versions.ktlint.get())
@ -25,6 +29,7 @@ configure<SpotlessExtension> {
targetExclude(
"plugins/openpgp-api-lib/",
"app-k9mail/fastlane/README.md",
"**/build/",
)
}
format("misc") {