1 class Groovysdk < Formula
2 desc "SDK for Groovy: a Java-based scripting language"
3 homepage "https://www.groovy-lang.org/"
4 url "https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-sdk-4.0.25.zip"
5 sha256 "747004e9de503a615034d5f57e63a0608d11c3d6d8a4f20ea3760e64d1a471da"
9 url "https://groovy.apache.org/download.html"
10 regex(/href=.*?apache-groovy-sdk[._-]v?(\d+(?:\.\d+)+)\.zip/i)
14 sha256 cellar: :any_skip_relocation, arm64_sequoia: "a3b512377361d281b6c275f3113d986607070bb5e24d76be54a936241cd31708"
15 sha256 cellar: :any_skip_relocation, arm64_sonoma: "a3b512377361d281b6c275f3113d986607070bb5e24d76be54a936241cd31708"
16 sha256 cellar: :any_skip_relocation, arm64_ventura: "a3b512377361d281b6c275f3113d986607070bb5e24d76be54a936241cd31708"
17 sha256 cellar: :any_skip_relocation, sonoma: "5e19ad027f51679a6d23ec7d211811505f216fa75cc0740d0e43021156647313"
18 sha256 cellar: :any_skip_relocation, ventura: "5e19ad027f51679a6d23ec7d211811505f216fa75cc0740d0e43021156647313"
19 sha256 cellar: :any_skip_relocation, x86_64_linux: "a3b512377361d281b6c275f3113d986607070bb5e24d76be54a936241cd31708"
24 conflicts_with "groovy", because: "both install the same binaries"
27 # We don't need Windows' files.
30 bin.install Dir["bin/*"]
31 libexec.install "conf", "lib", "src", "doc"
32 bin.env_script_all_files libexec/"bin",
34 JAVA_HOME: "${JAVA_HOME:-#{Formula["openjdk"].opt_prefix}}"
38 system bin/"grape", "install", "org.activiti", "activiti-engine", "5.16.4"