Android studio build failing after gradle upgrade

Hi All,
Apologies if this is obvious but my Android studio build is failing after a gradle upgrade was recommended by AS. The error I am receiving is:

Could not find

Do you know how I can get this package and have it within a search path of the build please? It is only failing for release builds. Debug builds seem unaffected.