We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 839bc25 commit e0002b3Copy full SHA for e0002b3
build-logic/src/main/kotlin/polaris-java.gradle.kts
@@ -41,6 +41,8 @@ tasks.withType(JavaCompile::class.java).configureEach {
41
options.compilerArgs.addAll(listOf("-Xlint:unchecked", "-Xlint:deprecation"))
42
options.errorprone.disableAllWarnings = true
43
options.errorprone.disableWarningsInGeneratedCode = true
44
+ options.errorprone.excludedPaths =
45
+ ".*/${project.layout.buildDirectory.get().asFile.relativeTo(projectDir)}/generated/.*"
46
options.errorprone.error(
47
"DefaultCharset",
48
"FallThrough",
0 commit comments