Updated project to be compatible with new gradle.