mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 15:47:03 +05:30
feat(build): add copyright license headers to XML files
This commit is contained in:
parent
1221992d26
commit
9a5a417418
14 changed files with 83 additions and 12 deletions
|
@ -37,10 +37,14 @@ class SpotlessPlugin : Plugin<Project> {
|
|||
}
|
||||
format("xml") {
|
||||
target("**/*.xml")
|
||||
targetExclude("**/build/", ".idea/")
|
||||
targetExclude("**/build/", ".idea/", "/spotless/", "**/lint-baseline.xml")
|
||||
trimTrailingWhitespace()
|
||||
indentWithSpaces()
|
||||
endWithNewline()
|
||||
licenseHeaderFile(
|
||||
project.file("spotless/license.xml"),
|
||||
"<manifest|<resources|<full-backup-content|<data-extraction-rules|<adaptive-icon"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue