Build library for js with IR
See original GitHub issueWhen using this library with a js(IR) target I have this 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'
I suppose you just need to add js(IR) to your targets, but I never developed a multiplatform library so I’m not sure 😃
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Kotlin/JS IR compiler
The JS IR compiler provides the incremental compilation mode for development binaries that speeds up the development process. In this mode, the ...
Read more >Add an ability to generate separate JS files for each module
In the new JS IR backend, we will provide you with the ability to create separate JS files for each module. Activity settings....
Read more >tessel/ir-attx4 - Infrared
JavaScript library for the Tessel Infrared module, built around an attiny84. - GitHub - tessel/ir-attx4: JavaScript library for the Tessel Infrared module, ...
Read more >Migrating our Kotlin/JS app to the new IR compiler
To use the IR compiler for our project, we make a small change to our build.gradle(.kts) file. In the kotlin configuration block, change...
Read more >Problem while converting code to new IR JS Compiler
1 Answer 1 · Once initial setup is loaded, add js target in build.gradle.kts · Add jsMain source set · To go terminal...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Shabinder @joreilly sorry for the delay, the release has been made and these changes are available in 0.1.9. Thanks for the contribution!
@mrf7 Please create a New Release with IR support after having the PR merged.