-
-
Save l1x/d8ba66343fceb927d691 to your computer and use it in GitHub Desktop.
brew tap homebrew/versions | |
brew search gradle | |
brew install homebrew/versions/gradle112 | |
gradle -version | |
brew link --overwrite gradle112 | |
gradle -version |
meanstack@meanstacks-MacBook-Pro api % brew cask install [email protected]
Error: Cask '[email protected]' is unavailable: No Cask with this name exists.
why wasnt version 6 working for you
why cant w specifically install a peritnet rebvsion insted of the commit install which brew doesnt like
@bipin-nag's method worked like a charm for me - many thanks!
gradle 3.3
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/74edf375423cbdf042bcab464e65f09426c0190f/Formula/gradle.rb
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
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/<COMMIT>/Formula/gradle.rb
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
Gradle 5.6.4 (last 5.x version and the latest (truly) supported by Android as of Q1/2020):