-
-
Notifications
You must be signed in to change notification settings - Fork 13k
javarepl: require Java 8 specifically #24032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Formula/javarepl.rb
Outdated
def install | ||
libexec.install "javarepl-#{version}.jar" | ||
bin.write_jar_script libexec/"javarepl-#{version}.jar", "javarepl" | ||
bin.write_jar_script libexec/"javarepl-#{version}.jar", "javarepl", :"java_version" => "1.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the quotes around java_version needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. Amended.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to wait on a new tag here.
new tag? Not sure I follow. |
@apjanke you're using the new DSL so any regular users who are on brew's last stable tag not HEAD will get an install failure if I merge this. It would be best to ditch the new DSL for this PR so that it doesn't sit and rot. |
Ah, gotcha. Amended. How about this? |
seems fine |
🚀 thank you :) |
👍 |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?Updates
javarepl
to require exactly Java 1.8, fixing Java 9 breakage.Addresses #19696.