-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle plugin #105
Comments
@breandan Lately, it is not required anymore to copy descriptor to the user directory, it could be used from anywhere. Here is the relevant part of the documentation: https://github.com/Kotlin/kotlin-jupyter#supported-libraries (it was not working last time I've checked, but it should soon. As for other parts of the descriptor, you can look at #99. I think that in the end it would be possible to create a major part of the descriptor inside the module and the library descriptor will hold only a jar path and the entry point (maybe default imports as well). |
The latest dev release supports class-based descriptor that does not require json at all, you just load your library via DependsOn and it works. An important part that all renderers loaders etc are now in code, not in strings and Kotlin kernel API allows notebook reflection as well. Here is the demo: https://github.com/mipt-npm/visionforge/blob/dev/demo/jupyter-playground/src/main/kotlin/hep/dataforge/playground/VisionForgePlayGroundForJupyter.kt. |
Closing this issue as it was implemented |
Does kotlin-jupyter plan to provide a Gradle plugin? Here is some code I've been using in case it helps. Although specific to the project I am working on, I was thinking it might be useful for others to have a Gradle DSL to configure the JSON manifest and tasks to install/publish/run notebooks.
The text was updated successfully, but these errors were encountered: