Alignment of ServerPluginProvider to latest interfaces

Adoption of Optional<T> and removal of name in the
ServerPluginProvider.

Aligned with the refs/changes/70/56270/3 on Gerrit

Change-Id: I994b8689576189295b5d9fc78b4ebcccbdca3787
2 files changed
tree: e38d572e265d272da0de289d3fe264e3547af7fd
  1. src/
  2. .gitignore
  3. BUCK
  4. LICENSE
  5. README.md
README.md

Gerrit Groovy Provider Plugin

This plugin provides Groovy runtime environment for Gerrit plugins in Groovy.

To test this series must be applied on top of Gerrit master [1].

To build link this directory under Gerrit's tree plugins directory and run:

  buck build plugins/groovy-provider

The resulting artifact can be found under:

 buck-out/gen/plugins/groovy-provider/groovy-provider.jar

To test deploy the review plugin [2] and copy this Groovy Provider plugin under $gerrit_site/plugins directory.

Review plugin in Groovy can be used:

  ssh gerrit review approve I59302cbb
  Approve change: I59302cbb