How can I split build.sc
into multiple files?
#1293
-
I'm not sure if this is a question that's already answered elsewhere, but I didn't come up with much after searching through docs and the discussion forum. I'm trying to convert some workflow from Is it possible to split my
So far, it seems that:
In each of the above situations, I've tried both |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The second import is normal, but the error not. Defining trait which contains targets should work. Only objects (the real modules in mill) need to be located in the To get to the cause of your specific error, you might need to share some code.
Mill supports foreign modules which should the way to support your project layout. Note, that you may not be able to refer back to the importing |
Beta Was this translation helpful? Give feedback.
The second import is normal, but the error not. Defining trait which contains targets should work. Only objects (the real modules in mill) need to be located in the
build.sc
.To get to the cause of your specific error, you might need to share some code.
Mill supports foreign modules which should the way to support your project layout. Note, that you may not be able to refe…