“Prepare Plugin Module for Deployment” from a Gradle-based Plugin Project?

Answered

I have followed the below guide to create a plugin project using Gradle.

https://www.jetbrains.org/intellij/sdk/docs/tutorials/build_system/prerequisites.html 

I know how to use :runIde to see my plugin in action, but I would like to be able to build it into a single jar file, the way you can do it when you make a DevKit based project using Build -> Prepare Plugin Module for Deployment. (pictured below)
image

Is there a way to do this from a Gradle-based plugin? If not, how can install my Gradle-based plugin on IntelliJ or Android Studio locally, without publishing it?

Thank you.

2 comments
Comment actions Permalink

In Gradle toolwindow, run Tasks -> intellij -> buildPlugin, this will generate distribution JAR/ZIP in /build/distributions that can be installed manually.

3
Comment actions Permalink

Ah Thank you very much Yann

0

Please sign in to leave a comment.