8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b00803c commit 18d0175Copy full SHA for 18d0175
Formula/groovy.rb
@@ -3,6 +3,7 @@ class Groovy < Formula
3
homepage "https://www.groovy-lang.org/"
4
url "https://dl.bintray.com/groovy/maven/apache-groovy-binary-3.0.5.zip"
5
sha256 "f7ffaed8aa63611bf68bef0db512ab979926c6e8778393fe573c553b9bd39e10"
6
+ license "Apache-2.0"
7
8
bottle :unneeded
9
@@ -16,7 +17,7 @@ def install
16
17
18
libexec.install "bin", "conf", "lib"
19
bin.install Dir["#{libexec}/bin/*"] - ["#{libexec}/bin/groovy.ico"]
- bin.env_script_all_files libexec/"bin", JAVA_HOME: "${JAVA_HOME:-#{Formula["openjdk"].opt_prefix}}"
20
+ bin.env_script_all_files libexec/"bin", Language::Java.overridable_java_home_env
21
end
22
23
def caveats
0 commit comments