-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support for Gradle composite builds #9410
Comments
Do we need to discover these files using |
Also, is this the same as #8692 ? |
Oh, I forgot about it. Yes, it is. |
Maybe close this as a duplicate and copy over the links from here |
This comment has been minimized.
This comment has been minimized.
Desired functionality turned to be a part of another feature |
Probably should be done before #8692 |
PR #21892 introduces parsing support for Kotlin source files with object declarations like As of now, renovate doesn't recognize composite plugins explicitly and if you place e.g. a E.g., the following renovate config would match a file like {
"gradle": {
"fileMatch": ["^includedBuild/.+\\.kt$"]
}
} |
It looks like all the functionality requested here is addressed via other released modifications - is that correct? |
Yes and no. Everything that's mentioned in the examples above can already be matched by renovate. Matching What's currently not supported are actual composite builds, as illustrated here. So if you have a project that declares a binary dependency on a library that is included from a composite build, e.g., To add real support for composite builds, it might be necessary to parse |
What would you like Renovate to be able to do?
https://docs.gradle.org/current/userguide/composite_builds.html#composite_build_intro
Did you already have any implementation ideas?
[a-zA-Z][a-zA-Z0-9]([vV]ersions|[dD]eps|...)\.kt
gradle.properties
, but beforebuild.gradle.kts
Versions.Plugins.NODEJS
"foo:bar:1.2.3"
) should be extracted as well, though evaluation should occur in thebuild.gradle.kts
context(i.e. determine a valid
registryUrl
sequence)Versions.kt
files, this mechanism should be applied for deps defined ingradle.properties
as wellExample files:
More examples:
radikushch/GAlertButton:
dependencies/src/main/java/com/example/dependencies/GlobalVersions.ktsquare/okhttp:
buildSrc/src/main/kotlin/deps.ktPokerAlpaka/kunde:
buildSrc/src/main/kotlin/Versions.ktthewca/tnoodle:
buildSrc/src/main/kotlin/dependencies/Versions.ktThe text was updated successfully, but these errors were encountered: