In my earlier post about moving from Kotlin Scripting to Python, I mentioned several reasons:
- Separating the content from the script
- Kotlin Scripting is an unloved child of JetBrains
- Renovate cannot update Kotlin Scripting files
I was wrong on the third point. Here’s my mea culpa.
First things first, Renovate does indeed manages Kotlin Scripting files - since 2022.
Even better, Renovate can manage any type of file. Thanks to Max Andersen for the tip:
JVM's are cheap; not having to use another language just for a quick script is priceless - but ignoring that - your blog list struggles with updating dependencies. @renovatebot actually can be configured to handle things like this - you can see how I've done it for jbang at…
— Max Rydahl Andersen (@maxandersen) March 3, 2024
You can create your configuration for package managers, which must still be added to Renovate’s scope!
With
customManagers
usingregex
you can configure Renovate so it finds dependencies that are not detected by its other built-in package managers.
The documentation is good enough, so there’s no need to paraphrase it. The point is that you can configure Renovate for every package manager you can think of. Even better, Renovate allows the contribution of new package managers, contrary to Dependabot.
The more I know about Renovate, the more I love it.