You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. In an sbt multi project build I tried defining a envFilename per sub project (each sub project has a main method). Since this setting must be in global scope (ThisBuild) it doesn't matter whether it's defined at the top level or within a subproject in an sbt file, the last value it was set with will be used.
Is there a way to scope dotenv files to projects?
The text was updated successfully, but these errors were encountered:
Keys in larger scopes like ThisBuild or Global seem to be able to be defined in any project, but "later" projects will then take priority. This is probably related to the order the projects are processed. I have expected that the order of evaluation of lazy vals would affect this, and I've tried adding .aggregate(child) to the root project to force the child project to be evaluated first, but it didn't seem to have any effect: globally scoped values from child project still have priority.
Hi. In an sbt multi project build I tried defining a
envFilename
per sub project (each sub project has a main method). Since this setting must be in global scope (ThisBuild
) it doesn't matter whether it's defined at the top level or within a subproject in an sbt file, the last value it was set with will be used.Is there a way to scope dotenv files to projects?
The text was updated successfully, but these errors were encountered: