Skip to content

Commit 1685ad3

Browse files
committed
disable checkstyle for generated classes
1 parent 5da3ce2 commit 1685ad3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

instrumentation/grpc-1.6/testing/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ tasks {
3131
compilerArgs.add("-Xlint:-cast")
3232
}
3333
}
34+
35+
named<Checkstyle>("checkstyleMain") {
36+
// exclude generated classes
37+
exclude("**/example/**")
38+
}
3439
}
3540

3641
protobuf {

0 commit comments

Comments
 (0)