Kotlin/kotlin-jupyter

Support multiplatform projects in jupyter.api plugin

altavir opened this issue · 4 comments

I expect that a typical case for plugin development will be a mpp project with resources generated by JS part and actual integration descriptor in JVM part.

Currently, this does not work out of the box:

An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.jupyter.api', version: '0.8.3.236']
> Failed to apply plugin 'org.jetbrains.kotlin.jupyter.api'.
   > Configuration with name 'compileOnly' not found.

Can you share a small MPP project for testing if you have one?

I did better :). No tests though and finding proper resource directories could be glitched for non-standard project structure.

The test was added and the problem with the resources should be solved - there is a separate task and output directory for plugin resources, and *processResources tasks depend on it.