Florian Magin
02/26/2021, 12:22 PMIlya Muradyan
02/26/2021, 12:26 PMFlorian Magin
02/26/2021, 12:28 PMjar
files from .local/lib/python3.9/site-packages/run_kotlin_kernel/jars/*
to the location that the buildscript of my plugin expects them to beIlya Muradyan
02/26/2021, 12:32 PMIlya Muradyan
02/26/2021, 12:32 PMFlorian Magin
02/26/2021, 12:33 PMIlya Muradyan
02/26/2021, 11:45 PMIlya Muradyan
02/26/2021, 11:48 PMFlorian Magin
03/02/2021, 10:36 AMkhttp
library which isn't on maven yet. But khttp
was never on the run_kotlin_kernel/jars
folder, so I am not sure if it is required?Ilya Muradyan
03/02/2021, 10:48 AMjcenter()
into your repositories
section. It seems that we need to contact khttp author and ask him to publish it on CentralFlorian Magin
03/02/2021, 10:49 AMFlorian Magin
03/02/2021, 11:05 AMorg.jetbrains.kotlin.jupyter.IkotlinKt
but the libraries downloaded via maven have the class at the path org/jetbrains/kotlinx/jupyter/IkotlinKt.class
Is this intentional and something I need to change in my code that uses the kernel or an indication that I am doing something else wrong?Florian Magin
03/02/2021, 11:13 AMFlorian Magin
03/02/2021, 11:38 AMembedKernel
method currently looks like this:
https://github.com/GhidraJupyter/ghidra-jupyter-kotlin/blob/main/GhidraJupyterKotl[…]in/src/main/java/GhidraJupyterKotlin/KotlinQtConsoleThread.java
i.e. passes null
to what used to be the libraryFactory
. You refactored this as part of https://github.com/Kotlin/kotlin-jupyter/commit/782f0882ed5f9e89ad378b4a986591397027721d#diff-3c1c4b1ddbb3338fe28601f[…]95dafb1c3ad4b60a8ffeedc62R85
Now the value isn't nullable anymore, and the obvious solution would be to pass EmptyResolutionInfoProvider
. But for reasons that I don't fully understand I can't import EmptyResolutionInfoProvider
from java code.
My best guess is that this is because it is actually a singleton object and this can't be simply imported like a class in java https://github.com/Kotlin/kotlin-jupyter/blob/dd04fadbe693447c854b4b7668d9d1c4c30c[…]g/jetbrains/kotlinx/jupyter/libraries/ResolutionInfoProvider.kt
is there some way to properly import this in Java, or would the signature of embedKernel
need to be changed?Ilya Muradyan
03/02/2021, 1:17 PMEmptyResolutionInfoProvider.INSTANCE
Florian Magin
03/02/2021, 1:19 PMFlorian Magin
03/02/2021, 1:24 PMFlorian Magin
03/03/2021, 3:55 PMIlya Muradyan
03/03/2021, 3:59 PM0.8.3.122