I've had some users mention that they get an error when adding a dependency on my library. Does anything look off in my build.gradles.kts that could cause this?
Error in ๐งต
๐ 1
eygraber
08/11/2022, 12:07 AM
Copy code
hawkish-bewit:jsMain: Could not resolve com.eygraber:uri-kmp:0.0.6.
Required by:
project :
Possible solution:
- Declare repository providing the artifact, see the documentation at <https://docs.gradle.org/current/userguide/declaring_repositories.html|https://docs.gradle.org/current/userguide/declaring_repositories.html>
eygraber
08/11/2022, 12:07 AM
Copy code
All of them match the consumer attributes:
- Variant 'androidNativeArm32ApiElements-published' capability com.eygraber:uri-kmp:0.0.6 declares a usage of 'kotlin-api' of a library, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native':
- Unmatched attributes:
- Provides attribute 'artifactType' with value 'org.jetbrains.kotlin.klib' but the consumer didn't ask for it
- Doesn't say anything about its target Java environment (preferred optimized for non-jvm)
- Provides release status but the consumer didn't ask for it
- Provides attribute 'org.jetbrains.kotlin.native.target' with value 'android_arm32' but the consumer didn't ask for it