diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-02-26 01:58:20 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 01:58:20 +0530 |
commit | 778834d5e4d2095a5a95007dd303ebd8e6c08493 (patch) | |
tree | 56aa39f7cb300df0fe3297b0c1cf969c17f477af /build-logic/kotlin-plugins/src/main | |
parent | 0af4e2920cd22d2b680faa26aac77d4baf84f36c (diff) |
Upgrade ktfmt to 0.33 (#1753)
* build: upgrade ktfmt to 0.33
* all: reformat with ktfmt 0.33
Diffstat (limited to 'build-logic/kotlin-plugins/src/main')
-rw-r--r-- | build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.spotless.gradle.kts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.spotless.gradle.kts b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.spotless.gradle.kts index de0c1efd..3b999d8d 100644 --- a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.spotless.gradle.kts +++ b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.spotless.gradle.kts @@ -5,14 +5,16 @@ plugins { id("com.diffplug.spotless") } +val KTFMT_VERSION = "0.33" + spotless { kotlin { - ktfmt().googleStyle() + ktfmt(KTFMT_VERSION).googleStyle() target("**/*.kt") targetExclude("**/build/") } kotlinGradle { - ktfmt().googleStyle() + ktfmt(KTFMT_VERSION).googleStyle() target("**/*.kts") targetExclude("**/build/") } |