kotlin-cli-starter icon indicating copy to clipboard operation
kotlin-cli-starter copied to clipboard

The repository is not working on Macbook M1

Open LukasAnda opened this issue 3 years ago • 4 comments

Hello there, when I try to run the project, I get this error: Unable to load class 'org.jetbrains.kotlin.konan.target.HostManager'.

LukasAnda avatar Feb 07 '22 17:02 LukasAnda

I found it's because of complete kotlin plugin, I'll try to post a pull request with updated kotlin version

LukasAnda avatar Feb 08 '22 21:02 LukasAnda

Note that CompleteKotlin is now configued in build.gradle.kts (instead of settings.gradle.kts previously), and you'll want to update both Kotlin and CompleteKotlin to have things work together as there's been breaking changes in the versioning scheme of the Kotlin/Native distributions that CompleteKotlin relies on.

LouisCAD avatar Feb 08 '22 22:02 LouisCAD

@LouisCAD Could you please provide some assistance about how to include it to build.gradle.kts? I am having trouble alltogether to update project to Kotlin 1.6.10 on mac

LukasAnda avatar Feb 08 '22 22:02 LukasAnda

It's all documented on CompleteKotlin repo.

LouisCAD avatar Feb 09 '22 09:02 LouisCAD