-
-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically exclude Mill transitive depedencies from build classpath #3207
Comments
This was already fixed in #3189. |
I tried with the latest snapshot but it doesn't seem to be solved. // build.sc
import $ivy.`com.disneystreaming.smithy4s::smithy4s-mill-codegen-plugin::0.18.22`
import mill._
import mill.scalalib._
object root extends RootModule with ScalaModule {
def scalaVersion = "3.4.2"
} .mill-version
Errors with:
|
I guess to understand this issue better, we should draft an integration test for reproduction. Then we can try to fix this on Mill's side. |
This seems related to #2985 |
The issue is, the exclusion filter introduced in #3189 contains less mill modules and transitive dependencies then I thought, hence the filtering in incomplete. |
Plugins should add Mill dependencies as
provided
, but sometimes they don't and Mill breaks when you update Mill to a newer version which adds new fields to traits.Mill could solve the problem by automatically add exclusion rules for
mill-scalalib
and its other artifacts when adding dependencies to the build viaimport $ivy.
.The text was updated successfully, but these errors were encountered: