The current local development process involves a few manual steps:
- Create a
Local.jsonfile with the following content:{ "description": "IntelliJ Platform that can be used in embedded mode of Kotlin Notebook", "properties": [ { "name": "v", "value": "0.0.2-%VERSION%-SNAPSHOT" }, { "name": "v-renovate-hint", "value": "update: package=org.jetbrains.kotlinx:kotlin-jupyter-intellij-platform" } ], "link": "https://plugins.jetbrains.com/docs/intellij/welcome.html", "repositories": [ "https://packages.jetbrains.team/maven/p/kds/kotlin-ds-maven" ], "dependencies": [ "org.jetbrains.kotlinx:kotlin-jupyter-intellij-platform:$v" ] } - Edit
gradle.propertiesand increase thedevAdditionproperty from1to2. - Update the
Local.jsonfile to replace%VERSION%with the same version number used in the previous step, for example changing2to get "0.0.2-2-SNAPSHOT". - Run the
publishToMavenLocaltask to publish the integration locally. - Load the local integration artifact using
%use /path/to/Local.jsoninstead of%use intellij-platform. - Reload the Kotlin Notebook Kernel.
To publish a newer version of the local artifact, repeat steps 2-6. Note that updating the version number is necessary to invalidate the dependency cache.