2010-06-15 17:26:59 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gradle <Formula
|
|
|
|
homepage 'http://www.gradle.org/'
|
2010-12-23 16:10:18 +00:00
|
|
|
version '0.9'
|
|
|
|
url 'http://gradle.artifactoryonline.com/gradle/distributions/gradle-0.9-all.zip'
|
|
|
|
md5 '9da1eb9fb32d9c303de5fd5568694634'
|
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
|
|
|
|
end
|