3

When I read this Stack Overflow answer, the following phrase was quoted from the documentation:

in the root project 's build.gradle:

I do not know meaning of that, and I could not find the meaning.
What does root project mean?

5
  • You might thought my question is off-topic, but this cannot be migrated to Stack Overflow, because I got this message. "We are no longer accepting questions from this account. See the Help Center to learn more." – ra1ned Jan 15 '17 at 4:58
  • ...or should this question migrated to other sites? – ra1ned Jan 15 '17 at 4:59
  • 2
    Coming to another site to ask questions because you are question banned on Stack Overflow is not an acceptable practice. You need to improve your existing questions over there so that they meet the site's guidelines, which will lift the question ban. – Catija Jan 15 '17 at 5:28
  • And I think this is on-topic. So I asked here. (This is also on-topic in Stack Overflow..?) – ra1ned Jan 15 '17 at 6:02
  • I'll rewrite it. "You might thought my question is off-topic, but even if so, this cannot be migrated to Stack Overflow, because I got the message, and I think this is on-topic. – ra1ned Jan 17 '17 at 7:42
1

I assume that the documentation is discussing a hierarchy of projects. In other words, one project can contain other project(s). There might even be multiple levels of projects within projects within projects. In computer programming, this kind of structure is called a "tree". A "directory tree" is a similar structure.

A real-life tree has a trunk, which has branches, which have branches, which have twigs, which have leaves. At the bottom of the trunk are the roots of the tree.

By analogy, the directory that contains all of the other directories in a directory tree is called the "root directory".

In your example, the project that contains all of the other projects is called the "root project".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.