Versioning a SwiftPM catalog

Hello Everyone,

I'm looking a way to reproduce a versionning catalog with spm in multi module project.

Does anyone has any clue how I could achieve that ?

To give more context to what I want achieve :

  • In Android with Gradle, you can have a root file with your dependencies and version. And each modules define its dependencies as key that will be replaced by the dependencies declared in the catalog.

  • In Xcode, I was able to reproduce it with Cocoapods medium story

(Not sure if I can post the story, if any complain I'll delete this link)

Now I'm try to figure out if there is a way to do it with SPM ?

Thanks for any clue to help me start.