Replies: 4 comments 1 reply
-
|
Sound like |
Beta Was this translation helpful? Give feedback.
-
|
I see - thanks. That's not too bad - only 1 additional declaration. I thought I might have to declare it as runtime on all downstream projects. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, using identical Lines 20 to 21 in 11b3e88 mill/libs/scalalib/package.mill Lines 28 to 29 in 11b3e88 mill/libs/javalib/package.mill Lines 33 to 34 in 11b3e88 |
Beta Was this translation helpful? Give feedback.
-
|
Thanks - that works for me for Is there a way to mimic Gradle's Also - are there Or can you refer to a module somehow under the various |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a Mill module dependency declaration equivalent to Gradle's
implementation?You can see in the link that
implementationwill include the dependency on the project's compile path but it will not be included transitively on any dependent project's compile path. It will be included on all the runtime paths.An example of when I'd use this is if I'm writing a wrapper around a 3rd party library but don't want to expose any of the 3rd party library's API to any downstream project. This means any downstream project could only use my wrapper API.
Beta Was this translation helpful? Give feedback.
All reactions