Use Scala Native test-interface-sbt-defs instead of test-interface#2425
Use Scala Native test-interface-sbt-defs instead of test-interface#2425zainab-ali wants to merge 1 commit into
test-interface-sbt-defs instead of test-interface#2425Conversation
|
Hi @zainab-ali, we require contributors to sign our Contributor License Agreement, and we don't have yours on file. In order for us to review and merge your code, please access https://www.artima.com/cla/choose-type to sign our Contributor License Agreement. Your effort is highly appreciated. Thank you. |
|
@cla-bot[bot] check |
|
The cla-bot has been summoned, and re-checked this pull request! |
|
@zainab-ali I tried to reproduce the problem in branch #2428 by upgrading the sbt version to 1.12.12, but unable to reproduce the mentioned error, I wonder if I should include the following in your example into the build to reproduce: I am not sure what it is doing, mind to help explaining? Thanks. |
|
Thanks for looking into this! To reproduce you'll need to set the following options: Note that these are a default in SBT 2.0. This applies the SBT eviction check to both SBT The linked Scala Native issue has more context: scala-native/scala-native#4844. |
See scala-native/scala-native#4844
Testing libraries and frameworks should depend on Scala Native's
test-interface-sbt-defs, nottest-interface.test-interface-sbt-defsdefines a common interface for unit tests. It followsearly-semverversioning.test-interfaceis a server implementation that must match the version of the Scala Native plugin. It followsstrictversioning.This was picked up by SBT 1.12.10, which added eviction checks for test dependencies.
How to reproduce
Create an SBT project with the following:
The
sbt updatecommand gives: