fixing a problem with the gradle script