Deploying plugins
Answered
For my plugin, I create a python distribution and start a python server in the gradle script when I run the IDE. But I realized that this does not work if I want to deploy the plugin to a user machine.
Is any way to pack the python distribution into the plugin archive and start the python server script each time the user starts the IDE?
Please sign in to leave a comment.
You can distribute "anything" with your plugin and start such scripts programmatically.
Thanks! Is there any way to specify the content of the generated zip through buildPlugin? Or I need to write a custom zip task?
buildPlugin task extends Zip-task of Gradle https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Zip.html, so you can customize it directly