Skip to content

Commit 77ee45c

Browse files
committed
Apply spotless to generated files, exclude c api files
Signed-off-by: Ryan Nett <[email protected]>
1 parent 50f7efa commit 77ee45c

File tree

1 file changed

+18
-0
lines changed
  • tensorflow-core/tensorflow-core-api

1 file changed

+18
-0
lines changed

tensorflow-core/tensorflow-core-api/pom.xml

+18
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,24 @@
482482
</descriptorRefs>
483483
</configuration>
484484
</plugin>
485+
<plugin>
486+
<groupId>com.diffplug.spotless</groupId>
487+
<artifactId>spotless-maven-plugin</artifactId>
488+
<version>${spotless.version}</version>
489+
<configuration>
490+
<java>
491+
<includes>
492+
<include>src/gen/**/*.java</include>
493+
</includes>
494+
<excludes>
495+
<exclude>
496+
src/main/**/c_api/**/*.java
497+
src/gen/**/c_api/**/*.java
498+
</exclude>
499+
</excludes>
500+
</java>
501+
</configuration>
502+
</plugin>
485503
</plugins>
486504
</build>
487505
</project>

0 commit comments

Comments
 (0)