homebrew-core/Formula/gradle.rb
Said Tahsin Dane 62adf35f58
gradle: update description
Updated it based on the official description found here: https://docs.gradle.org/current/userguide/userguide.html

Closes #31571.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2018-08-29 18:45:21 +01:00

23 lines
763 B
Ruby

class Gradle < Formula
desc "Open-source build automation tool based on the Groovy and Kotlin DSL"
homepage "https://www.gradle.org/"
url "https://services.gradle.org/distributions/gradle-4.10-all.zip"
sha256 "fc049dcbcb245d5892bebae143bd515a78f6a5a93cec99d489b312dc0ce4aad9"
bottle :unneeded
option "with-all", "Installs Javadoc, examples, and source in addition to the binaries"
depends_on :java => "1.7+"
def install
rm_f Dir["bin/*.bat"]
libexec.install %w[bin lib]
libexec.install %w[docs media samples src] if build.with? "all"
(bin/"gradle").write_env_script libexec/"bin/gradle", Language::Java.overridable_java_home_env
end
test do
assert_match version.to_s, shell_output("#{bin}/gradle --version")
end
end