Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin 1.8 support #46

Closed
jdamcd opened this issue Jan 22, 2023 · 2 comments
Closed

Kotlin 1.8 support #46

jdamcd opened this issue Jan 22, 2023 · 2 comments

Comments

@jdamcd
Copy link

jdamcd commented Jan 22, 2023

Plugin version 1.11.0 produces the following error in a project using Kotlin 1.8:

Unable to find method ''void org.jetbrains.kotlin.gradle.tasks.KotlinCompile.<init>(org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions, org.gradle.workers.WorkerExecutor, org.gradle.api.model.ObjectFactory)''
'void org.jetbrains.kotlin.gradle.tasks.KotlinCompile.<init>(org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptions, org.gradle.workers.WorkerExecutor, org.gradle.api.model.ObjectFactory)'

I checked out an old Kotlin 1.7.20 commit of the same project and everything looks good.

@SalomonBrys
Copy link
Member

SalomonBrys commented Jan 23, 2023

This issue is currently preventing us from supporting Kotlin 1.8: https://youtrack.jetbrains.com/issue/KT-55720
We are waiting on its resolution.

@SalomonBrys
Copy link
Member

MocKMP 1.12.0 is compiled with Kotlin 1.8.
Note that you may need to add:

kotlin.incremental.js.ir=false

If you are mocking suspend functions in JS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants