ashald / EnvFile

EnvFile 3.x is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple files.
MIT License
545 stars 129 forks source link

env file not loaded for Gradle run/debug configurations #230

Open rrlorentzen opened 5 months ago

rrlorentzen commented 5 months ago

I can see the 'Enable EnvFile' checkbox when creating a Gradle run/debug configuration but the variables do not get applied. Gradle is the run configuration used for running unit and integration tests in my project. I have verified that the same env file works for a spring boot configuration in the same project.

pambrose commented 4 weeks ago

+1

torgeir commented 4 weeks ago

I needed the set option Enable experimental integrations for EnvFile to work with gradle for running tests from Intellij IDEA.

image

pambrose commented 4 weeks ago

Thanks for the suggestion @torgeir but that did not work for me.