That is expected. You imported it as part of a composite and now removed it from the composite, which makes it disappear from Gradle’s point of view. If you want to work with project A as a standalone build, you can use the Add Gradle Nature command.