willyrs
03/25/2021, 8:18 PMjs("js", IR) {
binaries.library()
browser()
}
but i have this compilation error:
Could not determine the dependencies of task ':shared:jsPackageJson'.
> Could not resolve all dependencies for configuration ':shared:jsNpm'.
> Could not resolve co.touchlab:kermit:0.1.8.
Required by:
project :shared
> No matching variant of co.touchlab:kermit:0.1.8 was found. The consumer was configured to find a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js', attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir' but:
- Variant 'android-debugApiElements' capability co.touchlab:kermit:0.1.8:
- Incompatible because this component declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')
Does this mean the library is not compatible with the IR compiler? If that's the case, how can I know it beforehand or find the correct version?Big Chungus
03/25/2021, 8:37 PMBig Chungus
03/25/2021, 8:38 PMwillyrs
03/25/2021, 8:41 PMrusshwolf
03/25/2021, 8:41 PMrusshwolf
03/25/2021, 8:42 PMwillyrs
03/25/2021, 8:50 PM