Showing posts with label groovy. Show all posts
Showing posts with label groovy. Show all posts

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.

Thursday, 2 April 2015

Groovy in Action

Learning how to script in Groovy can be daunting without some extra help.

Here are some learning tips and resources.

BOOKS

"Groovy in Action" by technology publishers Manning Publications (2007) is a great introduction which doubles up as a helpful code mentor which will get you Groovy-ing in no time - without having to traipse the Interweb for code samples!

TOOLS

groovysh - is the groovy shell..  When you are done, type :x to exit the shell
groovyConsole - loads and runs groovy files