This plugin can be built with Buck or Maven.
To build with Buck in standalone mode (outside of the Gerrit tree), run
$>buck build plugin
To build with Maven, run
mvn clean package
gerrit-plugin-api must be fetched from remote or local Maven repository.
How to obtain the Gerrit Plugin API is described in the Gerrit documentation.