When I run the dependencies task, I see a dependency graph wherein some entries are preceded by +--- and some entries are preceded by \---. What do each of these two symbols mean?
As an example, when I run gradle :app:dependencies --configuration debugCompileClasspath for an Android application, I see an entry as follows:
+--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
| | +--- org.jetbrains:annotations:13.0
| | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
| \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10
| \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10
>Solution :
+--- marks the beginning of an expansion of the list on inner dependencies for the entry next to it.
In your case, it starts the list of the dependencies for org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10. As you can see, the next line is a bit indented, that’s the first dependency of the parent org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10.
\--- marks the end of the expansion of the list that was opened on that depth. In your case, \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 is the last dependency from org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10‘s list. And that dependency has only one inner dependency which is org.jetbrains.kotlin:kotlin-stdlib:1.6.10.
A lot of dependencies but I lack a better word. I hope I don’t confuse you even more 😀