gradle code mostly now in plugins.