-
Notifications
You must be signed in to change notification settings - Fork 22
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
unusedCompileDependenciesFilter usage #33
Comments
Apparently this is caused by including the sbt-updates plugin |
I'm glad you found the cause just as I was about to start looking at this 😄 It's quite surprising though. Both plugins define their own type alias for I'll do some digging and see if I can at least find a workaround. |
thanks @cb372, this error baffles me since |
@anilkumarmyla I've found a workaround:
|
@cb372 It works! Have you gotten to the root cause of the behavior? |
Just remembered that the documentation should also mention how to filter multiple modules rather than a single one so as to make the syntax clearer 😄 |
I've found the cause, and I'm an idiot. It's an ambiguous implicit. sbt doesn't provide an instance of When I found that code in sbt-updates previously, I liked the idea and shamelessly stole it. So there's an identical instance in sbt-explicit-dependencies here, which causes an ambiguous implicit when you use both plugins. I completely forgot that I'd done that! |
Interesting, I'd expect the scala compiler to throw an error/warning about the ambiguous implicit. |
I seemingly used
unusedCompileDependenciesFilter
as specified in README.md, but got errors during sbt runproject/build.properties
project/plugins.sbt
build.sbt
sbt update
The text was updated successfully, but these errors were encountered: