Extending the gradle managers #28585
Unanswered
LarsSven
asked this question in
Request Help
Replies: 1 comment
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. To get started, please read our guide on creating a minimal reproduction. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
I would like help with my configuration
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab with Renovate 37.316.0
Please tell us more about your question or problem
I maintain a Kotlin Gradle plugin. This plugin applies dependencies, so I have dependencies outside of the build.gradle.kts that I would like to get automatic updates for. I' m however having trouble getting it to work with Renovate.
I tried both to extend the gradle manager and a custom manager, for the custom manager I tried something alone the lines of:
As an example. This is of course hardcoded to 1 dependency, but I can deal myself with making it apply to all dependencies, that's not the problem.
The string is of the form add("implementation","group:dependency:version"), the "group:dependency:version" being the same as the standard implementation() that the gradle manager already detects. It needs to retrieve the version from the gradle.properties and the dependency may be in a self-hosted maven repository.
How an I get this to work? I would really appreciate some help with this as I am quite stuck.
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions