OCI and DZone Present: A Grails Quickcast #3: Multi-Project Builds
DZone is proud to partner with Object Computing, Inc. to bring you the Grails Quickcast series. In this Quickcast, you'll learn about multi-project builds in Grails. It's only fifteen minutes, but packed with purely practical Grails.
Join the DZone community and get the full member experience.Join For Free
Welcome to another Grails Quickcast, where Graeme Rocher, Head of Grails Development at OCI, walks you through more Grails goodness. The Grails Quickcast is brought to you by DZone in collaboration with OCI. It's only fifteen minutes, but packed with purely practical Grails.
In this Quickcast, you'll learn about multi-project builds in Grails. Grails does a few handy things with multi-project builds and plugins, not the least of which being that Grails compiles your plugins first and puts the class and resources of those plugins directly in the classpath. This lets you make changes to your plugins and instantly see those changes in your build.
If that wasn't enough, Graeme goes on to show how to use wrappers for your builds, so you can execute your build from your CI server. He goes on to demonstrate how to use this wrapper to load your build into the IntelliJ IDE.
Finally, you get a detailed look at how you can remove duplication within your child projects and allow the main project's gradle.build file to handle plugins, dependencies, and more, minimizing the code in your subprojects (which is always a good thing).
For this Quickcast, you'll need a basic understanding of Grails and Gradle.
Opinions expressed by DZone contributors are their own.