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

已回答

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

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.

1

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

4
Avatar
Permanently deleted user

Ah Thank you very much Yann

0

thank you very much , but gradle is shit

0

请先登录再写评论。