require 'formula' class Gradle < Formula homepage 'http://www.gradle.org/' url 'http://services.gradle.org/distributions/gradle-1.0-rc-1-bin.zip' md5 '2107b69855af16862da5e0a1779aed25' version '1.0-rc-1' def install rm_f Dir["bin/*.bat"] libexec.install %w[bin lib] bin.install_symlink libexec+'bin/gradle' end end