-
Given this simple multi-module project:
For performance reasons, I want to be able to load only a subset of the modules. For example, using an environment variable:
The code is available here: https://github.com/gontard/sbt-conditional-project-loading Is there a way to achieve that? Any help is greatly appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
maybe if you create them this way? https://stackoverflow.com/questions/66367587/dynamically-create-subprojects-in-scala-sbt I'm just guessing. I really don't think there's any way if the projects are declared statically, but perhaps if you create them dynamically you could do it. you might see if there are other Stack Overflow questions about dynamic project creation lord knows what problems making all the projects dynamically might cause with e.g. IDE integration? 🤷 |
Beta Was this translation helpful? Give feedback.
maybe if you create them this way? https://stackoverflow.com/questions/66367587/dynamically-create-subprojects-in-scala-sbt
I'm just guessing. I really don't think there's any way if the projects are declared statically, but perhaps if you create them dynamically you could do it. you might see if there are other Stack Overflow questions about dynamic project creation
lord knows what problems making all the projects dynamically might cause with e.g. IDE integration? 🤷