Sunday 17 January 2016

Automating Builds with Gradle

This is Gradle.

Gradle expresses its build files in Groovy.

It is marketed as a "polyglot" build tool supporting builds in Java and Scala as might be expected but also can build C/C++ and iOS code.

The Gradle "daemon" can be used to speed up builds. It is recommended to be switched "on" on developer machines but disabled on continuous integration servers.

Settings on the daemon include:

  • maximum heap size:  -Xmx
  • minimum heap size:  -Xms

Some information on migrating from Apache Maven.