This message was deleted.
# community-support
s
This message was deleted.
k
when adding the foojay plugin to settings.gradle, it fails with this weird error:
Copy code
org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'org.gradle.toolchains.foojay-resolver-convention', version: '0.4.0']
	at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.exceptionOccurred(DefaultPluginRequestApplicator.java:223)
	at 
...
Caused by: java.lang.ClassNotFoundException: org.gradle.jvm.toolchain.JavaToolchainResolverRegistry
	... 228 more
Also, the build scan doesn't say which toolchain JVM was used under any of the tabs I can see... I expected it under the Infrastructure tab.
And using 19 autoprovisioned/downloaded the JDK but doesn't seem to be using it...at least there are no compile errors or any indications in the build scan that it was used...
v
What version of Gradle are you on?
k
Gradle 7.5
v
7.5 neither supports Java 19, nor toolchain resolvers, nor auto-provisioning Azul toolchains
k
ahhh... til That explains why the resolver fails 🙂 Missed this: "In Gradle version 7.6 and above, Gradle provides a way to define Java toolchain auto-provisioning logic in plugins."
thanks
👌 1