2010-06-15 17:26:59 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gradle < Formula
|
2010-06-15 17:26:59 +00:00
|
|
|
homepage 'http://www.gradle.org/'
|
2011-02-28 09:27:33 +00:00
|
|
|
version '1.0-milestone-1'
|
|
|
|
url 'http://gradle.artifactoryonline.com/gradle/distributions/gradle-1.0-milestone-1-all.zip'
|
|
|
|
md5 '8bea9ef3293e1aff1d26dd2a7e44e08a'
|
2010-06-15 17:26:59 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
rm_f Dir["bin/*.bat"]
|
2010-12-23 16:10:18 +00:00
|
|
|
libexec.install %w[bin lib]
|
2010-06-15 17:26:59 +00:00
|
|
|
bin.mkpath
|
|
|
|
ln_s libexec+('bin/gradle'), bin
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|