https://github.com/gradle/gradle/issues/19089
I ran this twice in a row to achieve this:
./gradlew wrapper --gradle-version 7.5.1 \
--gradle-distribution-sha256-sum \
db9c8211ed63f61f60292c69e80d89196f9eb36665e369e7f00ac4cc841c2219
We need compileSdk 28 and the required AGP and gradle versions, as well
as updating to compatible support library revisions.
minSdk and targetSdk needs to move to build.gradle from manifest.
buildToolsVersion isn't used anymore.
Also remove the 2.11 restriction on the root build.gradle file. It's
unnecessary, as the Android plugin will already error if the version is
too old. This means that the build will work on any version that is new
enough, which should be 2.10-2.12 at the time of writing.