[MacPorts] #19872: remove unnecessary dependency of gradle port to the groovy port