Why does adding "rootProject.name=projectName" in one of the subprojects settings.gradle file change the available tasks for that project?


(mezlight) #1

In a multi-project setup, why does adding “rootProject.name=projectName” in one of the subprojects settings.gradle file change the available tasks for that project? The only way to build/clean is from the root project


#2

A multiproject build can only have one settings.gradle file. It makes no sense to say “one of the subprojects settings.gradle file”.
You might get some insight by taking a look at the “multiproject builds” section of the user guide.


(mezlight) #3

OK…Thanks