Came here to ask the same question. The 6.x docs still mention the old apis. Poked around the diffs for 6.0.0.M3 where the apis were removed, but couldn't find any mention of an alternative or confirmation that there isn't one
b
Benoît Liessens
07/24/2025, 8:49 AM
I replaced it with a dedicated gradle
Test
task where the env vars are set
e
Emil Kantis
07/24/2025, 2:39 PM
Iirc the JVM runtime removed the possibility of modifying env vars during runtime.
n
n8ebel
07/24/2025, 5:15 PM
ahh. okay. looks like I have some refactoring to do