fix build to work with gradle 2.0.

dropped the old one and trying again. learning some git basics while I'm at it.