Is there a way to configure the org.gradle.toolcha...
# kotlin-toolchain
g
Is there a way to configure the org.gradle.toolchains.foojay-resolver-convention Gradle plugin so that it still shows library version upgrades in our dependencies catalog toml?
a
if we had this feature out of box, how would you use it?
g
In to let me know when new versions of the libraries I use are available so I can update them
a
as far as I know, right now if you have outdated versions you will see the inspections in the IDE @utikeev correct me if I'm wrong
this is why I'm asking whether you have maybe some headless use case, like on the CI, for instance?
g
With that plugin installed in a regular gradle project the ide will highlight versions that can be upgraded in your toml catalog. Without that plugin installed the ide doesn't do it
No headless use case on my end. Would like to see the highlighting in the ide
s
Kotlin toolchain plugin will show the updates by default.
👍 1
some headless use case
I’d like to have an AI agent update the version. For that, I use github.com/deezer/caupain, which has a native binary that reports the updated versions, and a custom skill that uses it to update the catalog for Gradle/Kotlin Toolchain
👍 1
g
Do you still keep your toml file in the gradle folder for the tool chain?
s
So it would have been nice if there were a built-in
./kotlin
command to see/update the catalog versions.
@gbaldeck no, in the root directory..no gradle directory
then use
caupain -i libs.versions.toml
g
I think that's where I was going wrong and why I didn't see the tool chain doing it automatically in the ide. I had it in a gradle folder
j
There is this old ticket, which is still quite valid, so you might want to follow this: youtrack.jetbrains.com/issue/KTC-562/Suggest-dependency-updates-when-new-version-is-available
👍 2