Skip to content

Commit 2e04fb5

Browse files
authored
Update Error Prone and errorprone-plugin versions (#1434)
To stay up to date. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated development dependencies to their latest versions for improved code quality and analysis capabilities. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 80fbdc9 commit 2e04fb5

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ google-java-format = "1.30.0"
1010
android-gradle-plugin = "8.13.0"
1111
gradle-maven-publish-plugin = "0.34.0"
1212
spotless = "8.1.0"
13-
errorprone-plugin = "4.3.0"
13+
errorprone-plugin = "4.4.0"
1414
shadow = "8.3.8"
1515
jmh = "0.7.3"
1616
versions-plugin = "0.53.0"
1717
shellcheck = "1.5.0"
1818

19-
errorProne = "2.45.0"
19+
errorProne = "2.46.0"
2020
errorProneJdk17 = "2.42.0"
2121
errorProneOldest = "2.25.0"
2222

nullaway/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ tasks.named('check').configure {
151151
dependsOn(epOldestTest)
152152
}
153153

154+
['test', 'testJdk21'].each { taskName ->
155+
tasks.named(taskName).configure {
156+
filter {
157+
// On Error Prone 2.46.0 and above, this test will not pass, since CompilationTestHelper passes the
158+
// -XDaddTypeAnnotationsToSymbol flag by default. The test is still run on JDK 17.
159+
excludeTestsMatching "com.uber.nullaway.ErrorProneCLIFlagsConfigTest.missingTypeAnnotationSymbolFlagForJSpecifyModeOnOlderJDK"
160+
}
161+
}
162+
}
163+
154164
// Create a task to build NullAway with NullAway checking enabled
155165
tasks.register('buildWithNullAway', JavaCompile) {
156166
// Configure compilation to run with Error Prone and NullAway

0 commit comments

Comments
 (0)