Say I am building a library A for my company that uses 3 dependencies B, C and D.
Of course the classes of A will be used when A is imported, but most of the time classes from B, C and D are used as well in the new project.
At them moment if I am fetching A from, say, Maven I need to declare again the imports for B, C and D keeping in mind what version of those 3 libs A needs.
Can’t I declare which versions A needs for B, C and D into some Gradle metadata so that the new Gradle project knows which dependency is needed and download it from known repositories?
Eventually being able to override the version of the imports would be great as well!