Skip to content

Commit 68a630f

Browse files
Use latest version of errorprone and NullAway
Adding the full maven path to libs.versions.toml should make it updatable by renovate
1 parent 158835b commit 68a630f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ def jlink = tasks.register('jlink', JlinkTask) {
5454
description = 'Generates a minimal JRE for the project.'
5555
}
5656

57+
nullability {
58+
errorProneVersion = libs.errorprone.get().version
59+
nullAwayVersion = libs.nullaway.get().version
60+
}
61+
5762
tasks.named("compileTestJava") {
5863
options.nullability.checking = "tests"
5964
}

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[libraries]
2+
errorprone = "com.google.errorprone:error_prone_core:2.42.0"
23
gson = "com.google.code.gson:gson:2.13.2"
34
hamcrest = "org.hamcrest:hamcrest:3.0"
45
jspecify = "org.jspecify:jspecify:1.0.0"
56
junit-jupiter = "org.junit.jupiter:junit-jupiter:5.14.0"
67
junit-platform = "org.junit.platform:junit-platform-launcher:1.14.0"
78
logback-classic = "ch.qos.logback:logback-classic:1.5.18"
89
mockwebserver = "com.squareup.okhttp3:mockwebserver3-junit5:5.1.0"
10+
nullaway = "com.uber.nullaway:nullaway:0.12.10"
911
telegram-bot-api = "com.github.pengrad:java-telegram-bot-api:9.2.0"
1012
tika = "org.apache.tika:tika-core:3.2.3"
1113

0 commit comments

Comments
 (0)