Merge branch 'stable-2.15'

* stable-2.15:
  [HookTask] Avoid shadowing field
  [HookTask] Close readers in try-with-resources

Change-Id: I0b5f325cf08b025a1f97143d13fdbf7b6b5bae62
tree: be38dcd05a9e04fc36005898ce017ebb169850f8
  1. src/
  2. .gitignore
  3. BUILD

Hooks plugin

Gerrit does not support the standard server-side git hooks in the repositories it manages.

This plugin adds support for custom hooks that can be run instead. Refer to the configuration documentation and list of supported hooks for details.