-
I used to override the "repositories" from CoursierModule trait. Now it says (using mill 0.9.6) that it is deprecated, and I should use repositoriesTask instead. Here is the fragment of my updated build.sc:
It complained about implicit parameter:
So then I added the implicit parameter definition (before the repositoriesTask):
Now I am getting the following error:
What is the solution for such problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's probably because you used the |
Beta Was this translation helpful? Give feedback.
It's probably because you used the
T {}
macros which is supposed to create aTarget
, whereasdef repositoriesTask: Task[Seq[Repository[]]
expects an anonymousTask
. Just use theT.task {}
macro, and you should be fine. No upickle reader-writer is needed.