This message was deleted.
# community-support
s
This message was deleted.
a
basically our library has a dependency with variants for desktop and android JVM. If a user consumes our library and picks up this transitive dependency is there any way for them to choose the variant and have all further down stream uses not enter variant selection
r
Have the plugin author shadow it?
v
I answered in the mentioned issue. But for reference here too. If you configure attributes on configurations, then this is just a local thing. If you want it published and used by downstream projects, define the attributes on the dependency. In your case I'd say the proper solution is to define a constraint for that transitive dependency that defines the attribute as shown in the diff I attached to that issue.
a
@Vampire Thank you! I learn something new about gradle everyday it seems.
👌 1