Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Support javadoc of jdk11 (#3649)
Browse files Browse the repository at this point in the history
Co-authored-by: thinker0 <thinker0@linecorp.com>
  • Loading branch information
thinker0 and thinker0 committed Dec 12, 2020
1 parent dd3b67b commit ed42bfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/rules/javadoc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _impl(ctx):
transitive_jar_paths = [j.path for j in transitive_jar_set.to_list()]
dir = ctx.outputs.zip.path + ".dir"
source = ctx.outputs.zip.path + ".source"
external_docs = ["http://docs.oracle.com/javase/8/docs/api"] + ctx.attr.external_docs
external_docs = ["https://docs.oracle.com/en/java/javase/11/docs/api"] + ctx.attr.external_docs
cmd = [
"rm -rf %s" % source,
"mkdir %s" % source,
Expand All @@ -36,7 +36,8 @@ def _impl(ctx):
"-notimestamp",
"-quiet",
"-windowtitle '%s'" % ctx.attr.title,
" ".join(["-link %s" % url for url in external_docs]),
"-source 11",
" ".join(["-link '%s'" % url for url in external_docs]),
"-sourcepath %s" % source,
"-subpackages ",
":".join(ctx.attr.pkgs),
Expand Down

0 comments on commit ed42bfd

Please sign in to comment.