Skip to content

Commit ab85024

Browse files
committed
regenerate docs, run format
1 parent 715301b commit ab85024

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/api.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ Generate a javadoc from all the `deps`
4949
load("@rules_jvm_external//:defs.bzl", "java_export")
5050

5151
java_export(<a href="#java_export-name">name</a>, <a href="#java_export-maven_coordinates">maven_coordinates</a>, <a href="#java_export-manifest_entries">manifest_entries</a>, <a href="#java_export-deploy_env">deploy_env</a>, <a href="#java_export-excluded_workspaces">excluded_workspaces</a>, <a href="#java_export-exclusions">exclusions</a>,
52-
<a href="#java_export-pom_template">pom_template</a>, <a href="#java_export-allowed_duplicate_names">allowed_duplicate_names</a>, <a href="#java_export-allowed_duplicate_names">allowed_duplicate_names</a>, <ahref="#java_export-visibility">visibility</a>, <a href="#java_export-tags">tags</a>, <a href="#java_export-testonly">testonly</a>, <a href="#java_export-classifier_artifacts">classifier_artifacts</a>,
53-
<a href="#java_export-publish_maven_metadata">publish_maven_metadata</a>,
54-
<a href="#java_export-kwargs">kwargs</a>)
52+
<a href="#java_export-pom_template">pom_template</a>, <a href="#java_export-allowed_duplicate_names">allowed_duplicate_names</a>, <a href="#java_export-visibility">visibility</a>, <a href="#java_export-tags">tags</a>, <a href="#java_export-testonly">testonly</a>, <a href="#java_export-classifier_artifacts">classifier_artifacts</a>,
53+
<a href="#java_export-publish_maven_metadata">publish_maven_metadata</a>, <a href="#java_export-kwargs">kwargs</a>)
5554
</pre>
5655

5756
Extends `java_library` to allow maven artifacts to be uploaded.
@@ -114,7 +113,7 @@ Generated rules:
114113
| <a id="java_export-tags"></a>tags | <p align="center"> - </p> | `[]` |
115114
| <a id="java_export-testonly"></a>testonly | <p align="center"> - </p> | `None` |
116115
| <a id="java_export-classifier_artifacts"></a>classifier_artifacts | A dict of classifier -> artifact of additional artifacts to publish to Maven. | `{}` |
117-
| <a id="java_export-publish_maven_metadata"></a>publish_maven_metadata | Whether to publish a maven-metadata.xml and so may contain any valid parameter for that rule. | `True` |
116+
| <a id="java_export-publish_maven_metadata"></a>publish_maven_metadata | Whether to publish a maven-metadata.xml to remote repository. Some repositories (like AWS CodeArtifact) require the client to publish this file. It is disabled by default. | `True` |
118117
| <a id="java_export-kwargs"></a>kwargs | <p align="center"> - </p> | none |
119118

120119

private/rules/coursier.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ def _java_path(repository_ctx):
283283
def _generate_java_jar_command(repository_ctx, jar_path):
284284
coursier_opts = repository_ctx.os.environ.get("COURSIER_OPTS", "")
285285
coursier_opts = coursier_opts.split(" ") if len(coursier_opts) > 0 else []
286+
286287
# if coursier OOMs from a large dependency tree, have it crash instead of hanging
287288
coursier_opts.append("-XX:+ExitOnOutOfMemoryError")
288289
java_path = _java_path(repository_ctx)

private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/CreateJar.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public static void main(String[] args) throws IOException {
5353

5454
public static void createJar(Path out, Path inputDir) throws IOException {
5555
try (OutputStream os = Files.newOutputStream(out);
56-
ZipOutputStream zos = new ZipOutputStream(os);
57-
Stream<Path> walk = Files.walk(inputDir)) {
56+
ZipOutputStream zos = new ZipOutputStream(os);
57+
Stream<Path> walk = Files.walk(inputDir)) {
5858

5959
walk.sorted(Comparator.naturalOrder())
6060
.forEachOrdered(

0 commit comments

Comments
 (0)