gradle@2.14: require Java 8 specifically and make keg_only (#30805)
This commit is contained in:
parent
238c4a754c
commit
d605710076
1 changed files with 5 additions and 1 deletions
|
@ -6,9 +6,13 @@ class GradleAT214 < Formula
|
|||
|
||||
bottle :unneeded
|
||||
|
||||
keg_only :versioned_formula
|
||||
|
||||
depends_on :java => "1.8"
|
||||
|
||||
def install
|
||||
libexec.install %w[bin lib]
|
||||
bin.install_symlink libexec+"bin/gradle"
|
||||
(bin/"gradle").write_env_script libexec/"bin/gradle", Language::Java.java_home_env("1.8")
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue