I have this project structure
-->Starnderd Location -->Project1 -->settings.gradle -->build.gradle -->Subproject11 -->build.gradle -->Subproject12 -->build.gradle -->Project2 -->settings.gradle -->build.gradle -->Subproject21 -->build.gradle -->Subproject22 -->build.gradle -->build.gradle -->settings.gradle
Following the directions mentioned here http://stackoverflow.com/questions/12154031/multiple-settings-gradle-files-for-multiple-projects-building/29664571#29664571 i was able to get the correct settings.gradle.
However, what happens to build.script file in Project1, Project 2 & Project 3. Do they participate in the build if gradle command is run at root project level.
If i do this in my root Project build.gradle file , i get plugins not found error for Sub-project Subproject11
apply from : Project1/build.gradle
apply from : Project2/build.gradle
Does it mean, buildscript block needs to be copied from Subproject11 to the root project buildscript and apply from will not work at root project build.gradle file