IDEA-104500 Gradle: Allow to reuse common logic for other external systems

Reuse tool window content on re-running external system task