Add Gerrit 3.15.0 and set as the latest version Set Java to 25 and Gerrit to 3.15.0 Change-Id: Ica09b16050d3fdc24ca84a1ff90d8662ed76673c
brew tap GerritCodeReview/gerrit
brew search gerrit
brew install gerrit@3.11.0
Gerrit data is stored in the Homebrew's var location, /usr/local/var/gerrit.
Start Gerrit as usual with the gerrit.sh and start argument:
/usr/local/var/gerrit/bin/gerrit.sh start
Stop Gerrit passing the stop argument:
/usr/local/var/gerrit/bin/gerrit.sh stop
To test locally, first set the following env variable, export HOMEBREW_NO_INSTALL_FROM_API=1 then run brew install --build-from-source --verbose --debug <gerrit_version>.rb