Created
June 17, 2015 19:24
-
-
Save l1x/d8ba66343fceb927d691 to your computer and use it in GitHub Desktop.
Installing a specific version of Gradle with Homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew tap homebrew/versions | |
brew search gradle | |
brew install homebrew/versions/gradle112 | |
gradle -version | |
brew link --overwrite gradle112 | |
gradle -version |
commit a55e68888262857e299aa77b3ffa56b767702993
Date: Feb 9 2019
gradle 5.2.1 (#36856)
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/a55e68888262857e299aa77b3ffa56b767702993/Formula/gradle.rb
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/a55e68888262857e299aa77b3ffa56b767702993/Formula/gradle-completion.rb
Looks like installation from a GitHub url doesn't work anymore, but you can download the file and run it locally with
brew install --build-from-source gradle.rb
Looks like installation from a GitHub url doesn't work anymore, but you can download the file and run it locally with
brew install --build-from-source gradle.rb
Thanks
I created gradle.rb for gradle 6.8.1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is all gradle commits history.
https://gist.github.com/dimshik100/af28c2146651cae9aa9df94b7144f060
You can try to install them by replacing the commit of the relevant version inside the brew command