Skip to content

Binary incompatibility after 1.9.3 when used together with sbt-scalastyle-plugin #477

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

Closed
avinash-anand opened this issue Oct 28, 2022 · 1 comment

Comments

@avinash-anand
Copy link

avinash-anand commented Oct 28, 2022

Not sure where to report this. but, we have a project where we have both scalastyle plugin and scoverage plugin and when trying to upgrade scoverage plugin, it fails with below error:

[info] loading project definition from C:\Avinash\workspace\tools\sbt-scoverage-demo\project
[error] java.lang.RuntimeException: found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error]
[error] * org.scala-lang.modules:scala-xml_2.12:2.1.0 (early-semver) is selected over 1.0.6
[error] +- org.scoverage:scalac-scoverage-reporter_2.12:2.0.7 (depends on 2.1.0)
[error] +- org.scalariform:scalariform_2.12:0.2.0 (depends on 1.0.6)
[error]
[error]
[error] this can be overridden using libraryDependencySchemes or evictionErrorLevel

Current working versions:

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.9.3")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")

fails with above error when upgrading scoverage to any higher version.

repo with minimal code to reproduce - https://github.com/avinash-anand/sbt-scoverage-demo

@ckipp01
Copy link
Member

ckipp01 commented Oct 28, 2022

Please see #471, #469, #466, or #461 and please do search for past issues in the future.

@ckipp01 ckipp01 closed this as completed Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants