Hi, Is version 0.11.0-45 of the jupyter gradle plu...
# datascience
h
Hi, Is version 0.11.0-45 of the jupyter gradle plugin (org.jetbrains.kotlin.jupyter.api) meant as replacement of 0.10.0-131-1 ? Why is the latest version on maven-central https://mvnrepository.com/artifact/org.jetbrains.kotlin.jupyter.api/org.jetbrains.kotlin.jupyter.api.gradle.plugin still 0.10.0-53? I'm a bit lost here.
i
That's Grails Core repo not Gradle Plugin Portal.
a
And Iaroslav is right, you need to look for the second tab in mavencentral
h
The plugin 0.10.0-131-1 was adding
org.jetbrains.kotlinx:kotlin-jupyter-api-annotations:0.10.0-131-1
to the project's class path.
0.11.0-45
does not add any
kotlin-jupyter-api-annotations
 which break the build because the central annotation is missing now :
Is this by design (updated docs?) or a bug?
a
Yes, the annotation resolver is turned off by default, you need to add a flag to turn it on. It was done because KAPT and KSP produce too many bugs.
h
Thanks Alexander for the great pointer. Do it sense it right, that it's more light-weight/recommended to NOT use the annotation but rather go for Adding library integration avoiding use of annotation processor ?
a
It is not about light-weightiness. KSP is pretty lightweight. We just had a number of compatibility problems with it so we asked to change the default behavior. After all writing a single line in build is not hard.
h
Oh sure, both approaches are easy to implement. I was just wondering about the recommended way.
a
Both are good if they work. I do not use KSP because it breaks things.
h
Thanks for the clarification