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

Integrating external system tasks tree with BaseRunConfigurationAction