homebrew-core/Formula/gradle.rb
2015-10-21 14:59:31 +08:00

18 lines
494 B
Ruby

class Gradle < Formula
desc "Build system based on the Groovy language"
homepage "https://www.gradle.org/"
url "https://downloads.gradle.org/distributions/gradle-2.8-bin.zip"
sha256 "a88db9c2f104defdaa8011c58cf6cda6c114298ae3695ecfb8beb30da3a903cb"
bottle :unneeded
def install
libexec.install %w[bin lib]
bin.install_symlink libexec+"bin/gradle"
end
test do
output = shell_output("#{bin}/gradle --version")
assert_match /Gradle #{version}/, output
end
end