Why does scalac need a transitive dependency on the classpath
问题 I'm running into an unexpected (only for me?) ScalaC behavior. The TL;DR is that the following is a recreation of an issue I saw while trying to migrate a codebase from maven to bazel. One of the main focuses of this migration is to try to minimize the dependencies each class needs for compilation so that builds will be triggered only when needed. Unfortunately what I saw is that given ClassIndirectlyNeedingFoo (uses)-> ClassUsingFoo (uses)-> Supplier the compilation of