Options controlling which dependencies will be inferred for Scala targets.
Infer a target's dependencies by parsing import statements from sources.
Infer a target's dependencies by parsing consumed types from sources.
Add dependency on the package object to every target.
If true, add a dependency on all scala_source targets generated by the same scala_sources target generator. If false, the dependencies will only be added if [scala-infer].imports is also set to false.
Setting this option to true reduces the precision of dependency information. That means that you may end up compiling more than is necessary for a particular task, and that compilation will be invalidated more frequently than actually necessary. However, setting to true may be helpful if compilation fails due to missing dependencies.
Updated about 1 month ago