19 lines
508 B
Ruby
19 lines
508 B
Ruby
|
class GradleAT214 < Formula
|
||
|
desc "Gradle build automation tool"
|
||
|
homepage "https://www.gradle.org/"
|
||
|
url "https://downloads.gradle.org/distributions/gradle-2.14.1-bin.zip"
|
||
|
sha256 "cfc61eda71f2d12a572822644ce13d2919407595c2aec3e3566d2aab6f97ef39"
|
||
|
|
||
|
bottle :unneeded
|
||
|
|
||
|
def install
|
||
|
libexec.install %w[bin lib]
|
||
|
bin.install_symlink libexec+"bin/gradle"
|
||
|
end
|
||
|
|
||
|
test do
|
||
|
ENV["GRADLE_USER_HOME"] = testpath
|
||
|
assert_match "Gradle #{version}", shell_output("#{bin}/gradle --version")
|
||
|
end
|
||
|
end
|