After upgrading to from Gradle 6.7.1 to Gradle 7.4, the following error occurs:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':example-project:compileJava'.
> Failed to query the value of extension 'example-extension' property 'enabled'.
> Failed to calculate the value of task ':example-project:compileJava' property 'javaCompiler'.
> No compatible toolchains found for request filter: {languageVersion=11, vendor=any, implementation=vendor-specific} (auto-detect true, auto-download false)