Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 2.47 KB

README.md

File metadata and controls

74 lines (50 loc) · 2.47 KB

Un-Delegate Run Actions IDEA Plugin

Build Version Downloads

Description

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 / Build Tools / 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

Known Issues

  • 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.

Build

./gradlew build

Usage

The plugin adds a settings panel in Build, Exection, Deployment / Build Tools / Un-Delegate Run Actions.

Installation

  • 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.

License

WTFPL