Upgrade to Kotlin 1.4 and support the new IR backend
See original GitHub issueLibraries that depend on Mockk and want to leverage the new IR backend offered by Kotlin 1.4 cannot do so without changes to Mockk. For example, I’d love to upgrade Doodle and Measured to the new backend to improve JS bundle size.
The changes to Mockk include upgrading to Kotlin 1.4 and building with the new kotlin.js.compiler
option set to ir
, or both
.
_Originally posted by @pusolito in https://github.com/mockk/mockk/issues/374#issuecomment-678993554_
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:19
Top Results From Across the Web
1.4.30 Is Released With a New JVM Backend and Language ...
Kotlin /Native now supports Xcode 12.2. The macOS frameworks that have been added to the Xcode 12.2 release can be used with this...
Read more >What's new in Kotlin 1.4
We are now migrating Kotlin/JVM and Kotlin/JS to the same IR. As a result, all three backends share a lot of logic and...
Read more >Kotlin releases
1.4.30. Released: February 3, 2021. Release on GitHub. An incremental release with various improvements such as: New JVM backend, now in Beta. Preview...
Read more >Kotlin/JS IR compiler
If you want to use the IR compiler backend for your project, you need to update all Kotlin dependencies to versions that support...
Read more >What's new in Kotlin 1.4.30
Kotlin 1.4.30 offers preview versions of new language features, promotes the new IR backend of the Kotlin/JVM compiler to Beta, ...
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 Free
Top 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
I see. Yes, this needs to be done. Hope to allocate some time to rebuild next weekend.
Hope also the new Gradle doesn’t brake build, so badly as it was the previous time, requiring few days to recover it.
Awesome, thanks a lot for trying this out.
I have been doing some more extensive tests and looks like issues like #553 are not happening with 1.10.7-SNAPSHOT, so I will likely make a release over the next week.