Fixed java8 requirement in gradle file