I'm not comfortable with putting methods into `Config.groovy` I have made this a closure but it still doesn't sit well with me, it has passed from the realms of configuration into actual code by doing a lot of this. Perhaps the config should be a class name to instantiate to do some processing further down the line?

Perhaps even injected into the class that requires these values via Resources.groovy?