used the synthetic getter as per the comments from Chris on the Gradle forum