The build currently relies on old compile and testCompile configurations. We should migrate to api/implementation variations to be compatible with Gradle 7