Logo
Explore Help
Sign In
admin/brew
1
0
Fork 0
You've already forked brew
Code Issues Packages Projects Releases 6 Wiki Activity
brew/Library/Homebrew/extend/os/linux/requirements/java_requirement.rb

17 lines
200 B
Ruby
Raw Normal View History

Add frozen_string_literal to all files.
2019-04-19 15:38:03 +09:00
# frozen_string_literal: true
java_requirement: port to Linux and refactor Split the core requirement class into generic, Linux-specific, and macOS-specific parts. Additionally, the Linux version is now able to detect Java versions (the previous Linuxbrew implementation was only able to detect if Java was present at all.)
2016-12-04 18:43:46 -08:00
require "language/java"
class JavaRequirement < Requirement
env do
env_java_common
Code review cleanups
2017-02-15 21:47:08 -08:00
env_oracle_jdk
java_requirement: port to Linux and refactor Split the core requirement class into generic, Linux-specific, and macOS-specific parts. Additionally, the Linux version is now able to detect Java versions (the previous Linuxbrew implementation was only able to detect if Java was present at all.)
2016-12-04 18:43:46 -08:00
end
private
def oracle_java_os
:linux
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 739ms Template: 23ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API