Updating Gradle to 7.6 fixed it, though I didn't want to go as far as jumping to Gradle 8. I also needed to update the Kotlin version, I was getting some annoying collisions in my Gradle cache.
This is in prep for a second PR adding test support for AGP 7.4.2.
I have Java 17 installed on my system and I couldn't actually launch the project, due to Unsupported class major version 61 errors.
(See: https://stackoverflow.com/questions/69425829/unsupported-class-file-major-version-61-error)
Updating Gradle to 7.6 fixed it, though I didn't want to go as far as jumping to Gradle 8. I also needed to update the Kotlin version, I was getting some annoying collisions in my Gradle cache.
This is in prep for a second PR adding test support for AGP 7.4.2.