Replace/substitute gradle plugins

Hi :blush:

I gradle-7.2 and gradle-7.3 /lib/plugins has Google-oauth-client-1.25.0 and gson-2.8.6 i need to upgrade them to Google-oauth-client-1.31.0 gson-2.8.9 Is there a way to replace/override them? I tried with dependencySubsitution but it didnt worked out