This message was deleted.
# community-support
s
This message was deleted.
v
Not a bad question at all. Native libraries and Java is almost always a horrible topic and it is best avoided. A good library needing native libs contains all of them and decides at runtime which to use. If it has different variants for different platforms and it is built with Gradle, the best would be it indeed uses proper Gradle variants that could then be selected based on the the operating system it is built on. You could probably use component metadata rules to fix up the metadata of that library if it for example is different artifacts of the same library coordinates. As a last resort, you can always use code like
Os.isFamily(Os.FAMILY_MAC)
in your build logic to decide what to do.
a
Thanks Vampire. Last resort it is!
👌 1