Uses dependencyOverrides instead of Compile / dependencyOverrides because otherwise it is unused. However to also fix the use case presented in https://github.com/tkawachi/sbt-lock/pull/30, this PR also looks into Test classpath and adds these modules to the dependencyOverrides with the test configuration...
I tested this in my work project and the changes were minimal
Uses
dependencyOverrides
instead ofCompile / dependencyOverrides
because otherwise it is unused. However to also fix the use case presented in https://github.com/tkawachi/sbt-lock/pull/30, this PR also looks intoTest
classpath and adds these modules to thedependencyOverrides
with thetest
configuration...I tested this in my work project and the changes were minimal
fixes #34
An improvement to this could be adding a new setting to control, how test dependencies should be added: