Skip to content

Commit 5f8a692

Browse files
committed
fix: exclude protos in build directory
1 parent 0ee9d98 commit 5f8a692

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/hypertrace/gradle/code/style/CodeStylePlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ private void configureFormatting(SpotlessExtension spotlessExtension) {
4848
"misc,",
4949
format -> {
5050
format.target("*.md", "**/*.proto", ".gitignore");
51+
format.targetExclude("build/**/*.proto");
5152
format.indentWithSpaces();
5253
format.trimTrailingWhitespace();
5354
format.endWithNewline();

0 commit comments

Comments
 (0)