Merge branch 'stable-2.16' into stable-3.0
* stable-2.16:
Documentation: Remove bazel issue
Documentation: Refactor to match other plugin documentation
Change-Id: I4a09365c936659dd10871f51b4a96eff4c581475
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index e9e055e..ebf028a 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -56,21 +56,18 @@
bazel build plugins/@PLUGIN@
```
-Note that due to a [known issue in Bazel][bazelissue], if the plugin
-has previously been built in standalone mode, it is necessary to clean
-the workspace before building in-tree:
-
-```
- cd plugins/@PLUGIN@
- bazel clean --expunge
-```
-
The output is created in
```
bazel-bin/plugins/@PLUGIN@/@PLUGIN@.jar
```
+To execute the tests run:
+
+```
+ bazel test plugins/@PLUGIN@:@PLUGIN@_tests
+```
+
This project can be imported into the Eclipse IDE.
Add the plugin name to the `CUSTOM_PLUGINS` set in
Gerrit core in `tools/bzl/plugins.bzl`, and execute:
@@ -79,16 +76,9 @@
./tools/eclipse/project.py
```
-To execute the tests run:
-
-```
- bazel test plugins/@PLUGIN@:@PLUGIN@_tests
-```
-
How to build the Gerrit Plugin API is described in the [Gerrit
documentation](../../../Documentation/dev-bazel.html#_extension_and_plugin_api_jar_files).
[Back to @PLUGIN@ documentation index][index]
[index]: index.html
-[bazelissue]: https://github.com/bazelbuild/bazel/issues/2797