blob: 9d1670fcc7c07da629deb1bee476cfa0b66b0953 [file] [log] [blame] [view]
# Build
The aws-dynamodb-refdb plugin can be build as a regular 'in-tree' plugin. That means
that is required to clone a Gerrit source tree first and then to have the plugin
source directory into the `/plugins` path.
Additionally, the `plugins/external_plugin_deps.bzl` file needs to be updated to
match the aws-dynamodb-refdb plugin one.
```shell script
git clone --recursive https://gerrit.googlesource.com/gerrit
cd gerrit
git clone "https://gerrit.googlesource.com/plugins/aws-dynamodb-refdb" plugins/aws-dynamodb-refdb
ln -sf plugins/aws-dynamodb-refdb/external_plugin_deps.bzl plugins/.
bazelisk build plugins/aws-dynamodb-refdb
```
The output is created in
```
bazel-genfiles/plugins/aws-dynamodb-refdb/aws-dynamodb-refdb.jar
```