require 'formula' class Gradle < Formula homepage 'http://www.gradle.org/' url 'http://services.gradle.org/distributions/gradle-1.2-bin.zip' sha1 'eeb372596534a813dd9ae7ff2f619567030946da' def install rm_f Dir["bin/*.bat"] libexec.install %w[bin lib] bin.install_symlink libexec+'bin/gradle' end end