Fix broken on gradle 1.7/1.8
Remove unnecessary code
Merge pull request #26 from skyisle/master

Fix broken on gradle 1.7/1.8