Skip to content

Commit 2471824

Browse files
authored
build: improve checkstyle build times by ignoring generated sources (#1139)
Signed-off-by: Simon Schrottner <[email protected]>
1 parent bce6c00 commit 2471824

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

checkstyle.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
</module>
3131
<!-- https://checkstyle.org/config_filters.html#SuppressionFilter -->
3232
<module name="SuppressionFilter">
33-
<property name="file" value="${org.checkstyle.google.suppressionfilter.config}"
34-
default="checkstyle-suppressions.xml" />
33+
<property name="file" value="checkstyle-suppressions.xml" />
3534
<property name="optional" value="true"/>
3635
</module>
3736

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@
226226
<consoleOutput>true</consoleOutput>
227227
<failsOnError>true</failsOnError>
228228
<linkXRef>false</linkXRef>
229+
<excludeGeneratedSources>true</excludeGeneratedSources>
229230
</configuration>
230231
<dependencies>
231232
<dependency>

0 commit comments

Comments
 (0)