diff options
Diffstat (limited to 'src/main/java/com/google')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java | 4 | ||||
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java index 3734725a08..ac3cfd6b89 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java @@ -110,8 +110,8 @@ public class HttpArchiveRule implements RuleDefinition { repository should already contain a BUILD file. If it does not, use <a href="${link new_http_archive}">new_http_archive</a> instead.</p> -<p>It supports Zip-formatted archives (with the .zip extension) and -tarballs (.tar.gz and .tgz extensions).</p> +<p>It supports Zip-formatted archives and tarballs. The full set of extensions supported is +.zip, .jar, .war, .tar.gz, .tgz, .tar.xz, or .tar.bz2.</p> <h4 id="http_archive_examples">Examples</h4> diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java index 97dd5d3a2c..10650169b5 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java @@ -136,8 +136,8 @@ public class NewHttpArchiveRule implements RuleDefinition { <p>Downloads a compressed archive file, decompresses it, and creates a Bazel repository by combining the archive with the provided BUILD file.</p> -<p>It supports Zip-formatted archives (with the .zip extension) and -tarballs (.tar.gz and .tgz extensions).</p> +<p>It supports Zip-formatted archives and tarballs. The full set of extensions supported is +.zip, .jar, .war, .tar.gz, .tgz, .tar.xz, or .tar.bz2.</p> <h4 id="new_http_archive_examples">Examples</h4> |