您可以使用命令:
brew info gradle
结果,您将获得以下内容:
gradle: stable 4.0.1
Build system based on the Groovy language
https://www.gradle.org/
/usr/local/Cellar/gradle/3.4 (181 files, 74.5MB) *
Built from source on 2017-02-24 at 15:01:34
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gradle.rb
==> Requirements
required: java >= 1.7 ?
==> Options
--with-all
Installs Javadoc, examples, and source in addition to the binaries
在第4行上,您可以看到起始路径: /usr/local/Cellar/gradle/3.4