-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multimodule gradle (kotlin) with versions defined as constants in buildSrc #5480
Comments
Yes this is not supported yet. See the discussion in #4086 (comment) for the details. |
Does this mean the following syntax is supported |
@toelen Exactly. const val jCacheVersion = "1.1.0"
const val jCache = "javax.cache:cache-api:$jCacheVersion" is also supported (without property access). |
As a workaround it should be possible to add a custom rule using our new regex-based manager: https://docs.renovatebot.com/modules/manager/regex/ |
FYI we have migrated to a JS-based parser for Gradle now, and would implement it there instead of the previous approach |
Hi, Does it work with the latest version or its still unresolved? I have similar setup with dependencies store in
|
Hi there, Get your issue 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. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
When using gradle multimodule in kotlin, it is common practice to define dependency versions as constants in the buildSrc.
buildSrc/src/main/kotlin/Dependencies.kt:
this constant can be used like this
build.gradle.kts:
Right now this is not picked up by renovatebot.
gradle useLatestVersions
does pick it up however, so I assume renovatebot does not look at the buildSrc directoryThe text was updated successfully, but these errors were encountered: