Skip to content

How to conditionally load sbt projects? #7214

Answered by SethTisue
gontard asked this question in Q&A
Discussion options

You must be logged in to vote

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? 🤷

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gontard
Comment options

Answer selected by gontard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants