testCompile dependency of Java plugin was deprecated back in Gradle 4.8 (if I'm not mistaken) and testImplementation which was introduced in Gradle 3.4 should be used instead.
Build fails on Gradle 7.1.1 (Java 16 is supported in Gradle 7 and newer only).
Please edit build.gradle: replace
testCompile
dependency ofJava
plugin was deprecated back in Gradle 4.8 (if I'm not mistaken) andtestImplementation
which was introduced in Gradle 3.4 should be used instead. Build fails on Gradle 7.1.1 (Java 16 is supported in Gradle 7 and newer only). Please editbuild.gradle
: replacewith