-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Describe the bug
If I use environment variable for my dependencies, it works with JBang in a terminal or in an IDEA run configuration by settings environnement variables in the terminal or the run configuration.
But the dependencies synchronisation is broken and the completion and compilation in IDEA are broken too.
To Reproduce
Steps to reproduce the behavior:
- add a dependency using environnement variable, for exemple
//DEPS dev.langchain4j:langchain4j:${env.LANGCHAIN4J_VERSION} - Synchronise the JBang dependencies with
Syncs JBang DEPS to module - Display the empty JBang in IDEA
- Try to compile / use the code completion
Expected behavior
If I add a dependency with an environment variable I expect that works also in my IDE and I expect to have one place to configure the used environnement variables.
JBang version
jbang version --verbose
[jbang] [0:148] jbang version 0.132.0
Cache: /Users/sphilipp/.jbang/cache
Config: /Users/sphilipp/.jbang
Repository: /Users/sphilipp/.m2/repository
Java: /Users/sphilipp/.sdkman/candidates/java/24.0.1-tem [24.0.1]
OS: mac
Arch: aarch64
Shell: bash
0.132.0