mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Exclude files in bin from Spotless (#5410)
Was causing failures in fieldImages.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user