Skip to content

Commit 2b3275a

Browse files
committed
chore(build): update Error Prone DSL for plugin 5.1.0
1 parent 612e0a8 commit 2b3275a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

buildSrc/src/main/kotlin/ai.errorprone-conventions.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ tasks {
2020
errorprone {
2121
if (disableErrorProne) {
2222
logger.warn("Errorprone has been disabled. Build may not result in a valid PR build.")
23-
isEnabled.set(false)
23+
isEnabled = false
2424
}
2525

26-
disableWarningsInGeneratedCode.set(true)
27-
allDisabledChecksAsWarnings.set(true)
26+
disableWarningsInGeneratedCode = true
27+
allDisabledChecksAsWarnings = true
2828

2929
// Ignore warnings for generated classes
30-
excludedPaths.set(".*/build/generated/.*")
30+
excludedPaths = ".*/build/generated/.*"
3131

3232
// it's very convenient to debug stuff in the javaagent using System.out.println
3333
// and we don't want to conditionally only check this in CI

0 commit comments

Comments
 (0)