GRAILS-10938 - don't build grails core jar when generating docs