make plugin compatible with gradle 1.6