Reuse repository definitions in gradle
A short Groovy snippet that shows how to reuse repository definitions from the buildscript block in the main repositories block of a Gradle build script.
Posted on 2014-10-16
A short Groovy snippet that shows how to reuse repository definitions from the buildscript block in the main repositories block of a Gradle build script.
Posted on 2014-10-16
A quick guide on how to execute shell commands from Groovy, including how to handle commands with pipes.
Posted on 2014-09-19
A comprehensive guide on how to generate Java sources from a WSDL file using WSDLToJava within a Gradle build, including a workaround for handling erroneous exit codes from the tool.
Posted on 2012-11-12
A guide to defining task dependencies in Gradle, showing different ways to make one task depend on another, such as using dependsOn or doFirst.
Posted on 2012-11-07
An explanation of the difference between configuration time and execution time in Gradle tasks, and how to use doLast or << to ensure code is executed at the correct time.
Posted on 2012-11-07
A quick tip on how to access request parameters directly within a Grails domain class using RequestContextHolder.
Posted on 2012-06-04
A simple backup solution using a Groovy script to generate rsync commands for backing up files from multiple remote hosts.
Posted on 2010-11-17