Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
force usage of custom scalameta for mdoc
Coursier seems to prefer mdoc's scalameta 4.8.15 over core2_13's scalameta 4.8.15+150-a7c0baa0-SNAPSHOT. Adding scalameta as a top-level docs2_13 libraryDependencies does change this behavior, so I suspect Coursier is following nearest-wins semantics for some reason, while we expect it to following latest-wins semantics. http://eed3si9n.com/dependency-resolver-semantics#coursiers-latest-wins-semantics By using dependencyOverrides, we ensure that docs run are generated with the actual scalameta version used in scalafix, rather than the one used in mdoc.
- Loading branch information