in my project I need a dependency to some very specific modules of a bigger product. To find out the the exact versions of those modules is always a quite awful task. But I always know the exact product version.
So what I thought about was to specify the product version and select this small number of modules somehow automatically as dependency.
For transitive dependency selection I found out I can only exclude by exact group or name. But this would be quite a huge number of modules to exclude where I never know whether it captured all because this may change with new versions.
Is there a way to specify the product dependency, than iterate over all its transitive dependencies (without actually downloading it, except meta data of course). Than I could select the proper module versions and add it as dependencies via function. Thanks