fix gradle plugin 1.0.0 compatibility