Add initial Gerrit tap
Change-Id: I40993701e0c9e0116937ff0967f50e72d16232fb
diff --git a/gerrit.rb b/gerrit.rb
new file mode 100644
index 0000000..14aea47
--- /dev/null
+++ b/gerrit.rb
@@ -0,0 +1,25 @@
+# typed: false
+# frozen_string_literal: true
+
+class Blocksite < Formula
+ desc ""
+ homepage "https://www.gerritcodereview.com"
+ version "3.11.0-rc0"
+ url "https://github.com/GerritForge/homebrew-gerrit/releases/download/v3.11.0-rc0/gerrit-3.11.0-rc0.tar.gz"
+ sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
+ version "3.11.0-rc0"
+
+ depends_on "openjdk@21"
+ depends_on "git"
+ depends_on "openssh"
+
+ def install
+ etc.install "etc/gerrit.config"
+ bin.install "bin/gerrit.war"
+ lib.install "lib/out-of-the-box.jar"
+
+ mkdir_p prefix/"plugins"
+ (prefix/"plugins").install "plugins/uploadvalidator.jar"
+ (prefix/"plugins").install "plugins/avatars-gravatar.jar"
+ end
+end