Groovy

Grails 3.1.9 Functional Test Port

With Grails 3.1.9 and above we now get a default port for Functional tests that is randomly assigned. This is a great feature that was added in with this com...

Grails 3 Metrics and Path Variables

Grails 3 is built on top of SpringBoot on of the key components of SpringBoot is Actuator. Actuator sets up Metrics and healthchecks all the things modern se...

Grails 3 and JaCoCo

Now that we have Gradle as our build system we have a whole range of plugins we can use directly in Gradle. For code coverage I am using the JaCoCo plugin. T...

Grails 3 and Spring Java Config

The Spring Java config is a great way to work with Spring configuration. It feels similar to Google Guice, which I personally enjoy. Mr. Haki did a great wri...

Ratpack Promise

Ratpack has a core class that is the center of the great asynchronous support, Promise. Ratpack Promises are very easy to work with, there are just a few ke...

Failing @Grab Fixes

If you are working on a Groovy script with @Grab, you will sometimes get download failures for dependencies. Such as the following: General error during con...