You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know composite build is not officially supported, but:
When including a project in another one by using a Gradle composite build (includeBuild), configuration set in refreshVersions block from main project settings.gradle.kts is overriden by configuration set in included project settings.gradle.kts (even if there is no configuration).
⚠️ Current behavior
When running refreshVersions task, the configuration set in settings.gradle.kts is not applied
✅ Expected behavior
Each projects/included projects use its own configuration without overlapping each other
Run refreshVersions task (which depends on MySubProject:refreshVersions). Both task run, but both use configuration from MySubProject (check the log and resulting libs.versions.toml files)
Run MySubProject:refreshVersions alone, ok
📱 Tech info
Build Scan URL⚠️ It works as expected when using build --scan.
The text was updated successfully, but these errors were encountered:
I have a plan to resolve this, but it's quite an undertaking, and since I'm the only "active" maintainer at the moment, don't expect it this year.
However, if you want to contribute it in a way that I'd accept merging, I can give time to help on that so you know how to do it, where to plug things, and avoid Gradle tough tricks.
🐛 Describe the bug
I know composite build is not officially supported, but:
When including a project in another one by using a Gradle composite build (
includeBuild
), configuration set inrefreshVersions
block from main projectsettings.gradle.kts
is overriden by configuration set in included projectsettings.gradle.kts
(even if there is no configuration).When running refreshVersions task, the configuration set in settings.gradle.kts is not applied
✅ Expected behavior
Each projects/included projects use its own configuration without overlapping each other
💣 Steps to reproduce
Here is repro project https://github.com/rlatapy-luna/CompositeRefreshVersions
refreshVersions
task (which depends on MySubProject:refreshVersions). Both task run, but both use configuration from MySubProject (check the log and resultinglibs.versions.toml
files)MySubProject:refreshVersions
alone, ok📱 Tech info
--scan
.The text was updated successfully, but these errors were encountered: