© Adam L. Davis 2020
Adam L. DavisModern Programming Made Easyhttps://doi.org/10.1007/978-1-4842-5569-8_13

13. Building

Adam L. Davis
Oviedo, FL, USA
The build process is typically one of compiling the source files of a project, running tests, and producing a finished product or products.
In some companies there are whole teams whose sole job is maintaining and updating the build process. In any project of any size, it helps to have a good automated build tool.
There are many other build tools, but we’re just going to cover three:
  • Ant1
  • Maven2
  • Gradle3


Ant is the first really popular project builder for Java that existed. It is XML-based and requires you to create tasks in XML that can be executed by Ant. An Ant build file is typically named build.xml ...

Get Modern Programming Made Easy: Using Java, Scala, Groovy, and JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.