Error Prone: Enable checks for core plugins
Also document how to enable the checks for custom added plugins. Change-Id: Ifde569cfd07820de0beaf213e0b69777063b7c64
This commit is contained in:
@@ -75,6 +75,12 @@ bazel-genfiles/plugins/<plugin-name>/<plugin-name>.jar
|
||||
Some plugins describe their build process in `src/main/resources/Documentation/build.md`
|
||||
file. It may worth checking.
|
||||
|
||||
=== Error Prone checks
|
||||
|
||||
Error Prone checks are enabled by default for core Gerrit and all core plugins. To
|
||||
enable the checks for custom plugins, add it in the `error_prone_packages` group
|
||||
in `tools/BUILD`.
|
||||
|
||||
=== Plugins with external dependencies ===
|
||||
|
||||
If the plugin has external dependencies, then they must be included from Gerrit's
|
||||
|
||||
Submodule plugins/hooks updated: 60fb334f44...12447394c9
Submodule plugins/plugin-manager updated: 9edc1950d3...a51055a8f3
Submodule plugins/replication updated: aa07963def...b4b90fd2cc
Submodule plugins/reviewnotes updated: 2091fdfc99...70f1f3a860
Submodule plugins/webhooks updated: 1c860ae557...8078749bfd
11
tools/BUILD
11
tools/BUILD
@@ -100,5 +100,16 @@ package_group(
|
||||
packages = [
|
||||
"//java/...",
|
||||
"//javatests/...",
|
||||
"//plugins/codemirror-editor/...",
|
||||
"//plugins/commit-message-length-validator/...",
|
||||
"//plugins/delete-project/...",
|
||||
"//plugins/download-commands/...",
|
||||
"//plugins/gitiles/...",
|
||||
"//plugins/hooks/...",
|
||||
"//plugins/plugin-manager/...",
|
||||
"//plugins/replication/...",
|
||||
"//plugins/reviewnotes/...",
|
||||
"//plugins/singleusergroup/...",
|
||||
"//plugins/webhooks/...",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user