Got: In your project, go to settings.gradle and declare something like this: include ':LibReferenceName' project(':LibReferenceName').projectDir = new File(settingsDir, '../relativePath/toThe/libraryModule/fromTheProject')
And in modules requiring libraries, include something like this in build.gradle: compile project(path: ':LibReferenceName')
You also cannot use settingsDir and just put the absolute path to the project.
source share