Kotlin / kotlin-jupyter

Kotlin kernel for Jupyter/IPython
Apache License 2.0
1.1k stars 105 forks source link

KSP does not work with Kotlin 1.6.0-RC #342

Closed breandan closed 2 years ago

breandan commented 2 years ago

It seems like the KSP version is incompatible with 1.6.0-RC. I received the following error when updating to 0.10.3-31 of the Gradle plugin:

ksp-1.5.30-1.0.0 might not work with kotlin-1.6.0-RC properly. Please pick the same version of ksp and kotlin plugins.

> Task :compileKotlin
e: .../KotlinJupyter.kt: (8, 42): Unresolved reference: annotations
e: .../KotlinJupyter.kt: (11, 2): Unresolved reference: JupyterLibrary

> Task :compileKotlin FAILED

FAILURE: Build failed with an exception.
ileasile commented 2 years ago

Thanks, Breandan, I described the problems and provided a possible fix for your build: https://github.com/breandan/kaliningraph/pull/5

ileasile commented 2 years ago

I'll close it because I don't know how to fix it on Jupyter plugin side. If there are some other problems, please report them in a separate issue.