Upgrading gradle version to 7.0.2 giving errors

I am trying to update my Gradle

version to 7.0.2 which is resulting in the following errors

The com.github.dcendents.android-maven plugin is no longer supported, so it’s unlikely it will be fixed for Gradle 7.

I’m not an android expert, but you may need to update your android plugins in addition to Gradle. If I recall correctly, I remember them being fairly coupled.