Hello, What am I supposed to do with this warning?...
# kotlin-toolchain
l
Hello, What am I supposed to do with this warning?
More than a single variant provided for com.louiscad.splittiessplitties appctx3.0.0 (debugApiElements-published, releaseApiElements-published)
Is debug/release variant not supported like it is in Gradle projects? Or is it because the library was published more than 5 years ago?
👀 2
a
Can't say for sure, doesn't have laptop nearby, it might be a library published with additional variants explicitly (or implicitly via plugin) filtered on consumer side. Will have a look at this tomorrow, feel free to file an issue by the way.
This is a valid case. I filed an issue youtrack.jetbrains.com/issue/KTC-6048/Support-selecting-release-debug-variants-for-android-dependencies… As a quick fix we could select release variant of external dependencies all the time.
l
It could make sense to enable support to match variants for a given build type, actually. Some libraries like LeakCanary need it for plug'N'play
a
l
Thank you!