Gradle is the preferred solution for creating IntelliJ Platform plugins.
The IntelliJ IDEA Ultimate and Community editions bundle the necessary plugins to support Gradle-based development.
These IntelliJ IDEA plugins are Gradle and Plugin DevKit, which are enabled by default.
To verify these plugins are installed and enabled, see the help section about Managing Plugins.
Creating new Gradle-based IntelliJ Platform plugin projects is performed using the New Project Wizard.
The Wizard creates all the necessary project files based on a few template inputs.