Join Slack
If I have multiple variants of a target, how does gradle resolution work? Does the project requestin...
# 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!
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by