Skip to content

Commit 1b800df

Browse files
Update dependency com.google.guava:guava to v33.4.5-jre (#4324)
* Update dependency com.google.guava:guava to v33.4.5-jre * Add test dep explicitly * Remove old annotation on override * Explicitly add test dep --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jake Wharton <[email protected]>
1 parent cf3328d commit 1b800df

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ okhttp-loggingInterceptor = { module = "com.squareup.okhttp3:logging-interceptor
5959
okhttp-mockwebserver = { module = "com.squareup.okhttp3:mockwebserver", version.ref = "okhttp" }
6060
junit = { module = "junit:junit", version = "4.13.2" }
6161
truth = "com.google.truth:truth:1.4.4"
62-
guava = { module = "com.google.guava:guava", version = "33.4.0-jre" }
62+
guava = { module = "com.google.guava:guava", version = "33.4.5-jre" }
6363
android = { module = "com.google.android:android", version = "4.1.1.4" }
6464
findBugsAnnotations = { module = "com.google.code.findbugs:jsr305", version = "3.0.2" }
6565
androidxTestRunner = { module = "androidx.test:runner", version = "1.4.0" }

retrofit-adapters/guava/src/main/java/retrofit2/adapter/guava/GuavaCallAdapterFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ private static final class CallCancelListenableFuture<T> extends AbstractFuture<
164164
}
165165

166166
@Override
167-
public boolean set(@org.checkerframework.checker.nullness.qual.Nullable T value) {
167+
public boolean set(T value) {
168168
return super.set(value);
169169
}
170170

retrofit-converters/guava/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dependencies {
66
api libs.guava
77
compileOnly libs.findBugsAnnotations
88

9+
testImplementation libs.findBugsAnnotations
910
testImplementation libs.junit
1011
testImplementation libs.truth
1112
testImplementation libs.okhttp.mockwebserver

retrofit/java-test/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apply plugin: 'java-library'
33
dependencies {
44
testImplementation projects.retrofit
55
testImplementation projects.retrofit.testHelpers
6+
testImplementation libs.findBugsAnnotations
67
testImplementation libs.junit
78
testImplementation libs.truth
89
testImplementation libs.guava

0 commit comments

Comments
 (0)