From 778834d5e4d2095a5a95007dd303ebd8e6c08493 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 26 Feb 2022 01:58:20 +0530 Subject: Upgrade ktfmt to 0.33 (#1753) * build: upgrade ktfmt to 0.33 * all: reformat with ktfmt 0.33 --- .../kotlin/com.github.android-password-store.spotless.gradle.kts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'build-logic') 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/") } -- cgit v1.2.3