Set environment variables via jetbrains plugin when an android project is opened


My android project has gradle files that uses a System env variable (say, IMPORT_ROOT) which varies with respect to the  directory of the project launched.
I wish to set this environment variable on ProjectOpened() so that it gets modified as per the project and used by the gradle files.

Please help.

Please sign in to leave a comment.