Convert build-logic to a proper included build
This commit is contained in:
parent
cbadee43cd
commit
c2e2e4f842
6 changed files with 10 additions and 7 deletions
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-3.0-only
|
||||
*/
|
||||
plugins { id("com.diffplug.spotless") }
|
||||
|
||||
spotless {
|
||||
kotlin {
|
||||
ktfmt().googleStyle()
|
||||
target("**/*.kt")
|
||||
targetExclude("**/build/")
|
||||
}
|
||||
kotlinGradle {
|
||||
ktfmt().googleStyle()
|
||||
target("**/*.kts")
|
||||
targetExclude("**/build/")
|
||||
}
|
||||
format("xml") {
|
||||
target("**/*.xml")
|
||||
targetExclude("**/build/", ".idea/")
|
||||
trimTrailingWhitespace()
|
||||
indentWithSpaces()
|
||||
endWithNewline()
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue