This message was deleted.
# releases
s
This message was deleted.
party gradlephant 12
c
I don't see docs about an SPI interface for java toolchains. Have I missed something?
I suspect the release notes are referring to classes that implement
JavaToolchainResolver
and are registered with the
JavaToolchainResolverRegistry
. However, that's not "SPI". SPI is already a well defined technology in Java so I suggest choosing different terminology.
👍 1
a
Is this what you are looking for? https://docs.gradle.org/7.6-rc-3/userguide/toolchains.html#sec:provisioning There is no search on the 7.6 docs since they are not current... very bad UI/UX there.
x
+1 that is a confusing terminology. SPI should be kept for
ServiceLoader
related features
c
Sorry @Amanda, I should have a been a bit clearer. I saw the docs in https://docs.gradle.org/7.6-rc-3/userguide/toolchain_plugins.html and that's all good. The first paragraph of the release notes uses "SPI" terminology, so I went looking for "SPI/ServiceLoader" related material in the toolchain docs. However, that's not what Gradle is using at all to implement toolchain resolvers, so I'm suggesting that "SPI" should maybe be avoided since it may be misleading to Java devs. It's a very minor detail for sure.
👍 1
l
Thanks for the feedback, we are going to remove the usage of SPI to clear up any confusion.