Fix build failing due to gradle configuration.