eygraber
08/11/2022, 12:06 AMeygraber
08/11/2022, 12:07 AMhawkish-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 AMAll 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
eygraber
08/11/2022, 12:08 AMrocketraman
08/11/2022, 12:47 PMkotlin.js.compiler=both
to build for both legacy and IR, so probably you would need to bulid uri-kmp
with the same.
FYI: the failing build you can try out is here: https://github.com/innertech/hawkish-bewit/tree/multiplatform-uri-kmpandylamax
08/13/2022, 5:08 AMJS(IR)
use JS(BOTH)