Skip to content

Commit

Permalink
Merge pull request #822 from AndreKurait/SpotlessFix
Browse files Browse the repository at this point in the history
Fix spotless check ignore build and dependency directories
  • Loading branch information
AndreKurait authored Jul 16, 2024
2 parents 0ff5e5d + 1bca8c8 commit 5818da1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ task buildDockerImages() {
spotless {
format 'misc', {
target '**/*.gradle', '.gitattributes', '.gitignore'
targetExclude '**/build/**'
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()

}
yaml {
target '**/*.yml'
targetExclude '**/node_modules/**', '**/opensearch-cluster-cdk/**', '**/cdk.out/**'
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
Expand All @@ -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',
Expand Down

0 comments on commit 5818da1

Please sign in to comment.