I am working on a plugin that adds environment variables to Gradle executions based on external user configuration files. I have been using
extension point to set the variables, and this has worked well. However, I noticed that when you double click a task from the Gradle side panel, this extension point is never called. It seems that the task executions is quite different when double clicking a task vs right clicking and selecting run. Is there an extension point or a way I could use in my plugin to set the environment variables that would also work when double clicking a task to run it?