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-09-12 16:35:46 +00:00
|
|
|
url 'http://services.gradle.org/distributions/gradle-1.2-bin.zip'
|
|
|
|
sha1 'eeb372596534a813dd9ae7ff2f619567030946da'
|
2012-09-07 17:34:50 +00:00
|
|
|
|
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
|