Gradle source dependency - Unable to find module with Gradle path

I am trying to leverage so that Project A can consume Project B from source.

I started with the recommended setup in Project A’s settings.gradle:

 sourceControl {
      gitRepository(uri("ssh://")) {

And added this to the module .gradle:

 implementation('com.isupatches:bar') {
     version {
         branch = 'test-branch'

But I am receiving this error:

ERROR: Unable to find module with Gradle path ':bar' (needed by module 'foo'.)

Here is Project B’s settings.gradle:'Bar'

include ':bar'
project(':bar').projectDir = new File(rootProject.projectDir, 'bar')

The project structure for Project B is a typical Android app with a library module:

  |- bar

What am I doing incorrectly?