Has anyone run into an issue with running Intellij and finding that the environment variables that are configured in the Run Configuration are not being passed to the running task? My project is on Grails 4, Gradle Wrapper 5.x.
j
jdaugherty
05/13/2025, 12:00 AM
What version of IntelliJ ?
a
Alex Kramer
05/13/2025, 1:55 AM
25.1.1
j
jdaugherty
05/13/2025, 10:04 AM
I would try the last 2023 release and see if it works. Intellij has been aggressively upgrading their expected gradle versions - I can believe they broke this.
a
Alex Kramer
05/13/2025, 3:50 PM
So it seems like maybe the issue was the "Store as project file" setting. Removing that option seems like it now injects the environment variables again.
❤️ 2
d
Dylan Kolson
05/14/2025, 11:32 PM
Yes!!! Anytime we switch from grails 5 to grails 3 it seems to mess up all our env variables