brew update gradle with version
参考文档
步骤总结
-
获取文件sha256:
openssl dgst -sha256 gradle-4.1-all.zip
-
修改gradle.rb里面的url和sha256
-
brew unlink gradle
-
brew install ./gradle.rb
获取文件sha256:openssl dgst -sha256 gradle-4.1-all.zip
修改gradle.rb里面的url和sha256
brew unlink gradle
brew install ./gradle.rb