- Adjust the pluginGroup, plugin ID and sources package.
- Adjust the plugin description in
README
(see Tips) - Review the Legal Agreements.
- Publish a plugin manually for the first time.
- Set the
PLUGIN_ID
in the above README badges. - Set the Plugin Signing related secrets.
- Set the Deployment Token.
- Click the Watch button on the top of the IntelliJ Platform Plugin Template to be notified about releases containing new features and fixes.
This is a small plugin for IDEA that allows to only delegate build actions to Gradle, but not run actions. It's a proof of concept, I'm hoping to get this functionality integrated into IDEA.
This Plugin is based on https://github.com/Abnaxos/idea-undelegate-run. All credits go to that project. It was just updated to support newer IntelliJ versions.
Allows to delegate build actions to Gradle, but keep run actions in
IDEA.
This way, you get the best of both worlds: Gradle builds, IDEA
runs.
Enable and configure the un-delegation in Settings / Build, Execution, Deployment / Un-Delegate Run Actions
.
Tested with Gradle only, but it may also work with Maven
delegation.
There is already an issue to add this functionality: https://youtrack.jetbrains.com/issue/IDEA-176987/Delegate-only-build-to-Gradle
- Class reloading doesn't work. Class reloading actually never works when delegating build/run actions to Gradle, so this isn't a new issue. But the plugin unfortunately doesn't fix it.
./gradlew build
The plugin adds a settings panel in Build, Exection, Deployment / Build Tools / Un-Delegate Run Actions.
-
Using the IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "idea-undelegate-run" > Install
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.