jenkins: modernize, use new Java requirement style

This commit is contained in:
Baptiste Fontaine 2015-01-30 10:46:36 +01:00 committed by Mike McQuaid
parent 9223f3d475
commit 5a7b631788

View file

@ -1,5 +1,3 @@
require "formula"
class Jenkins < Formula
homepage "https://jenkins-ci.org"
url "http://mirrors.jenkins-ci.org/war/1.598/jenkins.war"
@ -10,7 +8,7 @@ class Jenkins < Formula
depends_on "maven" => :build
end
depends_on :java => "1.6"
depends_on :java => "1.6+"
def install
if build.head?