Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rrlorentzen opened this issue Apr 18, 2024 · 3 comments
Open

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

rrlorentzen opened this issue Apr 18, 2024 · 3 comments

Comments

@rrlorentzen
Copy link

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
Copy link

pambrose commented Sep 5, 2024

+1

@torgeir
Copy link

torgeir commented Sep 5, 2024

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

image

@pambrose
Copy link

pambrose commented Sep 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants