Skip to content

Commit b8d9c02

Browse files
fix(deps): update errorproneversion to v2.38.0 (#7285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jack Berg <[email protected]>
1 parent b468a2e commit b8d9c02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ tasks {
5050
disable("UnnecessarilyFullyQualified")
5151

5252
// We use animal sniffer
53-
disable("Java7ApiChecker")
5453
disable("Java8ApiChecker")
5554
disable("AndroidJdkLibsChecker")
5655

@@ -87,8 +86,9 @@ tasks {
8786
// cognitive load is dubious.
8887
disable("YodaCondition")
8988

90-
// Text blocks are not supported in java 8
91-
disable("StringConcatToTextBlock")
89+
// We annotate packages with @ParametersAreNonnullByDefault from com.google.code.findbugs:jsr305.
90+
// @NullMarked is the equivalent from jspecify.
91+
disable("AddNullMarkedToPackageInfo")
9292

9393
if ((name.contains("Jmh") || name.contains("Test") || project.name.contains("testing-internal")) && !project.name.equals("custom-checks")) {
9494
// Allow underscore in test-type method names

dependencyManagement/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ val DEPENDENCY_BOMS = listOf(
2828
)
2929

3030
val autoValueVersion = "1.11.0"
31-
val errorProneVersion = "2.37.0"
31+
val errorProneVersion = "2.38.0"
3232
val jmhVersion = "1.37"
3333
// Mockito 5.x.x requires Java 11 https://github.com/mockito/mockito/releases/tag/v5.0.0
3434
val mockitoVersion = "4.11.0"

0 commit comments

Comments
 (0)