From da939ca762b80b3b5b97a525a1a0abd82e95e4b5 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 17 Dec 2020 16:44:40 -0800 Subject: [PATCH] stub: Stop linking to Guava Javadoc This resolves the following warning when building with JDK 8 introduced in 9c5427fd4: javadoc: warning - Error fetching URL: https://google.github.io/guava/releases/30.0-android/api/docs/ Guava is now building their Javadoc with JDK 11. JDK 11 swapped from producing package-list to element-list, and stopped creating package-list entirely. This file is what Javadoc uses to cross-link documentation, and so it no longer works on the JDK 8 build, even though the files have virtually the same contents. ListenableFuture was the only reason we were including the Guava Javadoc; let's just drop the link instead of worrying about this silliness. --- stub/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/stub/build.gradle b/stub/build.gradle index 0fcbd556ca..ce1e742ab3 100644 --- a/stub/build.gradle +++ b/stub/build.gradle @@ -17,6 +17,5 @@ dependencies { } javadoc { - options.links "https://google.github.io/guava/releases/${guavaVersion}/api/docs/" exclude 'io/grpc/stub/Internal*' }