title: getClassLoaderCache error when upgrading Gradle from 6.7 to 7.0.1
body: <p>I'm fairly new to Gradle. Whenever I try to upgrade an existing project from 6.7 to 7.0.1 a traceback comes up as</p>
  <pre><code>java.lang.NoSuchMethodException: org.gradle.api.tasks.testing.Test.getClassLoaderCache()
  </code></pre>
  <p>Is there any workaround or missing dependency that I'm overlooking?</p>