fix(gradle): change checkouts directory

This commit is contained in:
Harsh Shandilya 2022-11-14 14:03:53 +05:30
parent 839773e48e
commit 6a8893a5aa
No known key found for this signature in database
3 changed files with 7 additions and 4 deletions

View file

@ -26,18 +26,18 @@ class SpotlessPlugin : Plugin<Project> {
kotlin {
ktfmt(KTFMT_VERSION).googleStyle()
target("**/*.kt")
targetExclude("**/build/", "/spotless/")
targetExclude("**/build/", "/spotless/", "/checkouts/")
licenseHeaderFile(project.file("spotless/license.kt"))
}
kotlinGradle {
ktfmt(KTFMT_VERSION).googleStyle()
target("**/*.kts")
targetExclude("**/build/")
targetExclude("**/build/", "/checkouts/")
licenseHeaderFile(project.file("spotless/license.kt"), "import|plugins|@file")
}
format("xml") {
target("**/*.xml")
targetExclude("**/build/", ".idea/")
targetExclude("**/build/", ".idea/", "/checkouts/")
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()