fix for #74 and updated to gradle 1.0