build: adding generated source code files / dirs to spotless exclusion list

pull/1/head
Richard Attermeyer 2023-11-04 18:08:15 +01:00
parent 0d72e6c185
commit ac28abc12e
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ spotless {
} }
kotlin { kotlin {
target("**/*.kt", "**/*.kts") target("**/*.kt", "**/*.kts")
targetExclude("buildSrc/build/generated-sources/**/*.kt") targetExclude("buildSrc/build/generated-sources/**/*.kt", "buildSrc/build/kotlin-dsl/**/*.kts")
// by default the target is every ".kt" and ".kts` file in the java sourcesets // by default the target is every ".kt" and ".kts` file in the java sourcesets
ktfmt() // intellij plugin available ktfmt() // intellij plugin available
} }