Rube Goldberg Machine - Gradle Setup

A Rube Goldberg machine is a contraption, invention, device, or apparatus that is deliberately over-engineered to perform a simple task in a complicated fashion, generally including a chain reaction.

Self Operating Napkin

My Convolution:

To learn algorithms, I started a Coursera course, to run examples of which I needed a Java Project setup locally, in which I needed to input stuff, for which I needed a testing framework, hence I tried to find the best testing framework, and found out about Spock and also needed a project dependency manager like Maven/Ant/Gradle, and chose Gradle as the dependency manager of choice, and learnt Groovy to be able to write Gradle DSL.

For a moment I thought Rube Goldberg was sitting next to me. All I wanted was to learn Algorithms.

Gradle

To setup Gradle Wrapper: gradle wrapper (Gradle Guide)

Now the executable gradlew or gradlew.bat in the current folder will install Gradle if not installed and then delegate to gradle all arguments passed originally to the gradlew command.

Gradle syntax: gradle[w] taskName[s]

For help/options simply type: gradle[w]

Author

Sahil Ahuja

Posted on

2016-12-06

Updated on

2020-12-21

Licensed under

Comments