updated to new gradle plugin