Fix gradle configuration