Fix problem with gradle