Skip to content

Instantly share code, notes, and snippets.

@l1x
Created June 17, 2015 19:24
Show Gist options
  • Save l1x/d8ba66343fceb927d691 to your computer and use it in GitHub Desktop.
Save l1x/d8ba66343fceb927d691 to your computer and use it in GitHub Desktop.
Installing a specific version of Gradle with Homebrew
brew tap homebrew/versions
brew search gradle
brew install homebrew/versions/gradle112
gradle -version
brew link --overwrite gradle112
gradle -version
@eyala
Copy link

eyala commented Dec 7, 2020

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

@ankit-jha
Copy link

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