Play Games Services V2 Migration

Hello!

I am developing Android mobile game on UE 5.3.2. I’ve already made a build of the game and I’m trying to upload it to Google Play Console. The following error appears:

This release uses v1 of the Play Games Services SDK, com.google.android.gms:play-services-games, which is not available for new integrations. Migrate to v2 to create a release.

I’m using Google Sign-In functionality and I can’t just remove SDK, I am definitely need to migrate it to successfully upload a build.

Are there any off-the-shelf solutions or can someone write a migration guide?