Gradle home cannot be found on Mac

前端 未结 7 1364
野性不改
野性不改 2021-02-01 13:24

I\'ve installed gradle on MAC using terminal.

brew install gradle

Gradle has been installed successfully.

gradle -v

--         


        
相关标签:
7条回答
  • 2021-02-01 13:50

    You can use command:

    brew info gradle
    

    As the result you will have something like this:

    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
    

    Here, on the line 4 you can see the home path : /usr/local/Cellar/gradle/3.4

    0 讨论(0)
提交回复
热议问题