[build] Exclude files in bin from Spotless (#5410)

Was causing failures in fieldImages.
This commit is contained in:
sciencewhiz
2023-06-22 15:25:01 -07:00
committed by GitHub
parent 61aa60f0e3
commit 34412ac57e

View File

@@ -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)