fixed incompatibility with gradle 2.0.
Merge pull request #112 from dispanser/master

fixed incompatibility with gradle 2.0 (#113)