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/'
|
2012-04-14 09:17:32 +00:00
|
|
|
url 'http://services.gradle.org/distributions/gradle-1.0-rc-1-bin.zip'
|
|
|
|
md5 '2107b69855af16862da5e0a1779aed25'
|
|
|
|
version '1.0-rc-1'
|
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]
|
2012-02-12 19:15:53 +00:00
|
|
|
bin.install_symlink libexec+'bin/gradle'
|
2010-06-15 17:26:59 +00:00
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|