diff --git a/build.gradle b/build.gradle index b47743212..c18903a1b 100644 --- a/build.gradle +++ b/build.gradle @@ -12,6 +12,7 @@ task buildDockerImages() { spotless { format 'misc', { target '**/*.gradle', '.gitattributes', '.gitignore' + targetExclude '**/build/**' trimTrailingWhitespace() indentWithSpaces() endWithNewline() @@ -19,6 +20,7 @@ spotless { } yaml { target '**/*.yml' + targetExclude '**/node_modules/**', '**/opensearch-cluster-cdk/**', '**/cdk.out/**' trimTrailingWhitespace() indentWithSpaces() endWithNewline() @@ -34,6 +36,7 @@ subprojects { spotless { java { target "**/*.java" + targetExclude '**/build/**' importOrder( 'java|javax', 'io.opentelemetry|com.google|com.fasterxml|org.apache|org.hamcrest|org.junit',