java_dep_if_needed: Install adoptopenjdk for Linux
Install adoptopenjdk rather than openjdk for Linux. openjdk is superseded by adoptopenjdk.
This commit is contained in:
parent
2b83463091
commit
0ac5cbbda9
@ -4,7 +4,7 @@ class DependencyCollector
|
||||
def java_dep_if_needed(tags)
|
||||
req = JavaRequirement.new(tags)
|
||||
begin
|
||||
dep = Dependency.new("openjdk", tags)
|
||||
dep = Dependency.new("adoptopenjdk", tags)
|
||||
return dep if dep.installed?
|
||||
return req if req.satisfied?
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user