Adding external projects in the gradle build path

Typically, you’d publish B to a Maven or Ivy repository, and have A declare a dependency on it.