How to install samples/extras with gradle?


(Rob deMallac) #1

Following along with a gradle tutorial, I was given the following instruction:
Go to GRADLE_HOME/samples/java/quickstart.

I cd into /usr/local/Cellar/gradle/4.0.1, and see a bin/ and a libexec/ folder, but no samples.

Is there a way to do a “full” install and grab samples as well?


(Joshua McKinney) #2

You can see the options that the formula ships with by typing brew info gradle. It turns out the formula writer has you covered with the --with-all option. brew reinstall gradle --with-all will get you to where you want to be.