Join Slack
Powered by
If I have multiple variants of a target, how does ...
# multiplatform
e
eygraber
08/01/2022, 12:41 PM
If I have multiple variants of a target, how does gradle resolution work? Does the project requesting the artifacts have to use the same variant name?
r
russhwolf
08/01/2022, 2:55 PM
I think resolution fails unless you define an attribute to disambiguate it and the consuming project declares that attribute. See
https://kotlinlang.org/docs/multiplatform-set-up-targets.html#distinguish-several-targets-for-one-platform
e
eygraber
08/01/2022, 2:58 PM
That looks like it, thanks!
2
Views
Open in Slack
Previous
Next