Is it possible to inject an environment variable at run-time ? #49471
Unanswered
celcius112
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using Gradle to build an artifact of my application. This application is packaged into a jar.
I would like at build-time to inject an environment variable so that it is not required when launching the application.
Here's what I would like using a simple example:
Any help is welcome !
Beta Was this translation helpful? Give feedback.
All reactions