From 98f49e7b69dad95e973260743e4579d426a17b4a Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 5 Jun 2022 03:56:37 +0530 Subject: kotlin-plugins: convert to full plugins --- ...thub.android-password-store.spotless.gradle.kts | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.spotless.gradle.kts (limited to 'build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.spotless.gradle.kts') 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 deleted file mode 100644 index 2c01542a..00000000 --- a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.spotless.gradle.kts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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/") - } - kotlinGradle { - ktfmt(KTFMT_VERSION).googleStyle() - target("**/*.kts") - targetExclude("**/build/") - } - format("xml") { - target("**/*.xml") - targetExclude("**/build/", ".idea/") - trimTrailingWhitespace() - indentWithSpaces() - endWithNewline() - } -} -- cgit v1.2.3