Skip to content

Commit

Permalink
stub: Stop linking to Guava Javadoc
Browse files Browse the repository at this point in the history
This resolves the following warning when building with JDK 8 introduced
in 9c5427f:
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.
  • Loading branch information
ejona86 committed Dec 18, 2020
1 parent ec70b64 commit da939ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion stub/build.gradle
Expand Up @@ -17,6 +17,5 @@ dependencies {
}

javadoc {
options.links "https://google.github.io/guava/releases/${guavaVersion}/api/docs/"
exclude 'io/grpc/stub/Internal*'
}

0 comments on commit da939ca

Please sign in to comment.