Open Ven03656 opened 5 months ago
This happens when building different build type than debug or release
so what is a solution for that? @tomkricensky
I noticed that your library published module-specific artifacts like dotsindicator-5.0-debug.aar but other libraries publish default artifacts without the module name attached.
I am no expert in libraries but I'd expect that to be the problem. So I'd recommend either publishing a default artifact (without the name of the module) along the others or publish only the default artifact (probably release version).
Dotsindicator: https://repo.maven.apache.org/maven2/com/tbuonomo/dotsindicator/5.0/
Coil (similar for other libraries):
@tommybuonomo please update your library with given suggestion.
Actually there is this other issue with the same problem https://github.com/tommybuonomo/dotsindicator/issues/178
And when we check the artifacts for 4.2 we can see what I mentioned previously. There is a default artifact and not module specific versions.
https://repo.maven.apache.org/maven2/com/tbuonomo/dotsindicator/4.2/
Anyway... For a workaround without updates to the library you can download the aar file and add it to the project as a file instead of a hosted dependency.
Variant 'debugVariantMavenApiPublication' capability com.tbuonomo:dotsindicator:5.0: