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-06-12 03:53:33 +00:00
|
|
|
url 'http://services.gradle.org/distributions/gradle-1.0-bin.zip'
|
|
|
|
sha1 '28f501fcb54e8ff97f96237b1fcfdb8641c90e3a'
|
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
|