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