mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 17:37:05 +05:30
28 lines
605 B
Kotlin
28 lines
605 B
Kotlin
/*
|
|
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
|
*/
|
|
|
|
plugins { id("com.diffplug.spotless") }
|
|
|
|
val KTFMT_VERSION = "0.37"
|
|
|
|
spotless {
|
|
kotlin {
|
|
ktfmt(KTFMT_VERSION).googleStyle()
|
|
target("**/*.kt")
|
|
targetExclude("**/build/", "**/gen/")
|
|
}
|
|
kotlinGradle {
|
|
ktfmt(KTFMT_VERSION).googleStyle()
|
|
target("**/*.kts")
|
|
targetExclude("**/build/")
|
|
}
|
|
format("xml") {
|
|
target("**/*.xml")
|
|
targetExclude("**/build/", ".idea/")
|
|
trimTrailingWhitespace()
|
|
indentWithSpaces()
|
|
endWithNewline()
|
|
}
|
|
}
|