Introduction to Gradle
The most common thing to do when learning to program is to use an IDE. It will help you focus on the programming language which is hard enough to learn. On the other hand, it will create a dependency on the tool. They only way you will know how to do most of the tasks will be through the IDE. It happened to me.
But when you start working with more developers, you should not expect everyone to use the same IDE as you. That doesn’t mean to avoid using any tool to automate difficult or repetitive tasks. But there needs to be a consensus on which tool. The basic things are automating the procedure to run the tests or building the source code into a distributable package.
Ruby has a very easy-to-use tool named Rake. But for Java, things are not as simple. A couple of tools are widely used: Maven and Gradle.
The first thing I tried was to create an initial template with a very simple example. So I could use that experience to increase my knowledge about the tool and to have something easy to setup for future projects. It is something that can be useful for anybody starting with Gradle, so you can find that template in my github.
For more complex setups that require packaging into a jar with all its dependencies, you can take a look at one of my repositories as an example