Skip to content
Discussion options

You must be logged in to vote

we dont support yaml file inheritance. What you can do is write a scala trait in mill-build/src and use it in the yaml file extends clause. Slightly more complex than yaml but maybe sufficient?

You can also publish your trait to maven central as a plugin and the depend on it via mill-build: mvnDeps: to use it in extends, which would remove the latency of compiling scala every time someone checks out the repo

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by charpov
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