hexgui: require Java 8 specifically (#28318)
This commit is contained in:
parent
ac9f9fe1a9
commit
498ed48263
1 changed files with 2 additions and 2 deletions
|
@ -14,12 +14,12 @@ class Hexgui < Formula
|
|||
end
|
||||
|
||||
depends_on "ant" => :build
|
||||
depends_on :java => "1.6+"
|
||||
depends_on :java => "1.8"
|
||||
|
||||
def install
|
||||
system "ant"
|
||||
libexec.install Dir["*"]
|
||||
(bin/"hexgui").write_env_script libexec/"bin/hexgui", Language::Java.java_home_env("1.6+")
|
||||
(bin/"hexgui").write_env_script libexec/"bin/hexgui", Language::Java.java_home_env("1.8")
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue