sbt-version-policy icon indicating copy to clipboard operation
sbt-version-policy copied to clipboard

Runtime dependency reported as missing

Open huajiang-tubi opened this issue 1 year ago • 0 comments

Given a lib A with a runtime dependency B. B is not in the current dependencies, because it's computed using the Compile configuration.

When it computes previous dependencies of A, a dummy module is created that has the previous version of A as its compile dependency, that makes B appear in the previous dependencies, fails the check as a missing library, even if A is not changed since the previous version.

Can we fix it by changing Compile to Runtime for dependencies resolution?

huajiang-tubi avatar Jun 25 '24 09:06 huajiang-tubi