I want to include My first project “Component1-1-1” inside my second project “Component1-1”, I added the following syntax to my setting.gradle file :
include ‘:Component1-1-1’
project(’:Component1-1-1’).projectDir = new File(settingsDir, ‘…/Component1-1-1’)
• `:` is the path separator used in project hierarchies.
• When calling `project()` in the build.gradle files, the path is relative to the current project.
• When calling `project()` from settings.gradle, all paths are relative to the root and the leading `:` can be dropped.