Splitties / refreshVersions

Life is too short to google for dependencies and versions
https://splitties.github.io/refreshVersions/
MIT License
1.65k stars 107 forks source link

Composite build configuration override each other #723

Open rlatapy-luna opened 1 month ago

rlatapy-luna commented 1 month ago

⚠️ 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

💣 Steps to reproduce

Here is repro project https://github.com/rlatapy-luna/CompositeRefreshVersions

  1. 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)
  2. Run MySubProject:refreshVersions alone, ok
image

📱 Tech info

LouisCAD commented 1 month ago

Hello/Bonjour !

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.