Fixed 'can not find property' error when using gradle 2