Skip to content

Commit b75795b

Browse files
authored
Handle StringCaseLocaleUsage as error (#6175)
See #6163 (comment) Signed-off-by: Johnny Lim <[email protected]>
1 parent 7429db9 commit b75795b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ subprojects {
7171
tasks.withType(JavaCompile).configureEach {
7272
options.errorprone.disableWarningsInGeneratedCode = true
7373
options.errorprone.excludedPaths = ".*/build/generated/.*"
74+
options.errorprone.error("StringCaseLocaleUsage")
7475

7576
if (!javaLanguageVersion.canCompileOrRun(17)) {
7677
// Error Prone does not work with JDK <17

0 commit comments

Comments
 (0)