Skip to content
Permalink
Browse files
Support javadoc of jdk11 (#3649)
Co-authored-by: thinker0 <thinker0@linecorp.com>
  • Loading branch information
thinker0 and thinker0 committed Dec 12, 2020
1 parent dd3b67b commit ed42bfdaaba8c64ac98ebc7e3c5af3267f6ddb21
Showing 1 changed file with 3 additions and 2 deletions.
@@ -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,
@@ -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),

0 comments on commit ed42bfd

Please sign in to comment.