Remove build/** from spotless kotlin exludes
MODIFY
buildSrc/src/main/kotlin/otel.spotless-conventions.gradle.kts
buildSrc/src/main/kotlin/otel.spotless-conventions.gradle.kts
@@ -20,9 +20,7 @@ spotless {
// ktfmt() // only supports 4 space indentation
ktlint().userData(mapOf("indent_size" to "2", "continuation_indent_size" to "2"))
licenseHeaderFile(rootProject.file("gradle/enforcement/spotless.license.java"), "(package|import|public)")
- targetExclude(
- "src/main/kotlin/io.opentelemetry.instrumentation.javaagent-codegen.gradle.kts",
- "build/**")
+ targetExclude("src/main/kotlin/io.opentelemetry.instrumentation.javaagent-codegen.gradle.kts")
}
format("misc") {
// not using "**/..." to help keep spotless fast

Remove build/** from spotless kotlin exludes (#3647)