Update for gradle builds.