Allow java dependency to accept normal dependency tags
This commit is contained in:
parent
459f92b065
commit
2ad9cd20e6
@ -119,7 +119,7 @@ class JavaDependency < Requirement
|
|||||||
satisfy { java_version }
|
satisfy { java_version }
|
||||||
|
|
||||||
def initialize(tags)
|
def initialize(tags)
|
||||||
@version = tags.pop
|
@version = tags.shift if /(\d\.)+\d/ === tags.first
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user