Updated the project to gradle 1.10 and did small modifications.