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)