From 018a66bf34e504331859e2655c3b0e6b38f638c2 Mon Sep 17 00:00:00 2001 From: Noel Date: Thu, 23 Mar 2023 10:12:02 -0700 Subject: [PATCH] [spotless] Exclude generated `commons-module.gradle.kts` file --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 79aeb97..f1e034e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -45,6 +45,10 @@ spotless { // For Kotlin (Gradle), we will need to move the license header // as the last step due to https://github.com/diffplug/spotless/issues/1599 kotlinGradle { + targetExclude( + "buildSrc/build/kotlin-dsl/plugins-blocks/extracted/commons-module.gradle.kts", + ) + endWithNewline() encoding("UTF-8") target("**/*.gradle.kts")