Blog

Blog

PHODAL

brew versions gradle安装指定版本gradle

  1. 查看gradle版本
    gradle -v
    
  2. 我们需要 uninstall gradle
    brew uninstall gradle 
    3.查看所有gradle版本
    brew versions gradle
    
    下面就是所有gradle的版本
    
        1.10     git checkout 2b10422 Library/Formula/gradle.rb
        1.9      git checkout 5bab5e9 Library/Formula/gradle.rb
        1.8      git checkout 9214e60 Library/Formula/gradle.rb
        1.7      git checkout f826cc9 Library/Formula/gradle.rb
        1.6      git checkout fff7c0b Library/Formula/gradle.rb
        1.5      git checkout 57931e0 Library/Formula/gradle.rb
        1.4      git checkout 0b7303a Library/Formula/gradle.rb
        1.3      git checkout c259bda Library/Formula/gradle.rb
        1.2      git checkout 9b7d294 Library/Formula/gradle.rb
        1.1      git checkout 7941972 Library/Formula/gradle.rb
        1.0      git checkout dff67fb Library/Formula/gradle.rb
        1.0-rc-3 git checkout 5f9e348 Library/Formula/gradle.rb
        1.0-rc-2 git checkout f72e33f Library/Formula/gradle.rb
        1.0-rc-1 git checkout e2438cf Library/Formula/gradle.rb
        1.0-milestone-9 git checkout c27c667 Library/Formula/gradle.rb
        1.0-milestone-8a git checkout 69eb948 Library/Formula/gradle.rb
        1.0-milestone-8 git checkout 34da975 Library/Formula/gradle.rb
        1.0-milestone-7 git checkout 6a8c437 Library/Formula/gradle.rb
        1.0-milestone-6 git checkout dae625d Library/Formula/gradle.rb
        1.0-milestone-5 git checkout baff305 Library/Formula/gradle.rb
        1.0-milestone-3 git checkout d9f2e06 Library/Formula/gradle.rb
        1.0-milestone-4 git checkout 4b1230c Library/Formula/gradle.rb
        1.0-milestone-2 git checkout 6801464 Library/Formula/gradle.rb
        1.0-milestone-1 git checkout 0476235 Library/Formula/gradle.rb
        0.9.2    git checkout 38b9338 Library/Formula/gradle.rb
        0.9.1    git checkout f986d7d Library/Formula/gradle.rb
        0.9      git checkout 45e09d7 Library/Formula/gradle.rb
        0.8      git checkout e6f608f Library/Formula/gradle.rb
    
  3. checkout到指定版本
    cd /usr/local
    
    git checkout 2b10422 Library/Formula/gradle.rb
    
    5.安装指定版本gradle
    brew install gradle
    

或许您还需要下面的文章:

关于我

Github: @phodal     微博:@phodal     知乎:@phodal    

微信公众号(Phodal)

围观我的Github Idea墙, 也许,你会遇到心仪的项目

QQ技术交流群: 321689806
comment

Feeds

RSS / Atom

最近文章

关于作者

Phodal Huang

Developer, Consultant, Writer, Designer

ThoughtWorks 高级咨询师

工程师 / 咨询师 / 作家 / 设计学徒

开源深度爱好者

出版有《前端架构:从入门到微前端》、《自己动手设计物联网》、《全栈应用开发:精益实践》

联系我: h@phodal.com

微信公众号: 与我沟通

标签