This plugin is built with Buck.
Clone or link this plugin to the plugins directory of Gerrit's source tree, and issue the command:
buck build plugins/cookbook-plugin
The output is created in
buck-out/gen/plugins/groovy-provider/groovy-provider.jar
This project can be imported into the Eclipse IDE:
./tools/eclipse/project.py