From 34412ac57eb96599e7642560b65871b0669f992c Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Thu, 22 Jun 2023 15:25:01 -0700 Subject: [PATCH] [build] Exclude files in bin from Spotless (#5410) Was causing failures in fieldImages. --- shared/java/javastyle.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shared/java/javastyle.gradle b/shared/java/javastyle.gradle index 77272525e7..7f5d9257d0 100644 --- a/shared/java/javastyle.gradle +++ b/shared/java/javastyle.gradle @@ -23,7 +23,7 @@ if (!project.hasProperty('skipJavaFormat')) { java { target fileTree('.') { include '**/*.java' - exclude '**/build/**', '**/build-*/**' + exclude '**/build/**', '**/build-*/**', '**/bin/**' } toggleOffOn() googleJavaFormat() @@ -34,7 +34,7 @@ if (!project.hasProperty('skipJavaFormat')) { groovyGradle { target fileTree('.') { include '**/*.gradle' - exclude '**/build/**', '**/build-*/**' + exclude '**/build/**', '**/build-*/**', '**/bin/**' } greclipse() indentWithSpaces(4) @@ -44,7 +44,7 @@ if (!project.hasProperty('skipJavaFormat')) { json { target fileTree('.') { include '**/*.json' - exclude '**/build/**', '**/build-*/**' + exclude '**/build/**', '**/build-*/**', '**/bin/**' } gson() .indentWithSpaces(2) @@ -52,7 +52,7 @@ if (!project.hasProperty('skipJavaFormat')) { format 'xml', { target fileTree('.') { include '**/*.xml' - exclude '**/build/**', '**/build-*/**' + exclude '**/build/**', '**/build-*/**', '**/bin/**' } eclipseWtp('xml') trimTrailingWhitespace() @@ -62,7 +62,7 @@ if (!project.hasProperty('skipJavaFormat')) { format 'misc', { target fileTree('.') { include '**/*.md', '**/.gitignore' - exclude '**/build/**', '**/build-*/**' + exclude '**/build/**', '**/build-*/**', '**/bin/**' } trimTrailingWhitespace() indentWithSpaces(2)