Skip to content

Commit

Permalink
Fix spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
etonotieno committed Oct 7, 2023
1 parent 1d6afcb commit e8c62bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/src/main/kotlin/io/devbits/gocart/Spotless.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ internal fun Project.configureSpotless() {
}
format("xml") {
target("**/*.xml")
targetExclude("**/build/**/*.xml", rootProject.file("spotless/copyright.xml"))
targetExclude(
"**/build/**/*.xml",
".idea/*.xml",
rootProject.file("spotless/copyright.xml"),
)
licenseHeaderFile(rootProject.file("spotless/copyright.xml"), "(<[^!?])")
}
}
Expand Down

0 comments on commit e8c62bc

Please sign in to comment.