The Jtest Plugin for Gradle requires the following to be installed on your machine:

Note: To run static analysis on Android projects, the following need to be installed:

The following must be included on the Android project classpath: com.android.tools.build:gradle:7.3.0 (or later).

For example:

buildscript {
    dependencies {
        classpath 'com.android.tools.build:gradle:7.3.0'
    }
}