How is the root folder of Multi build project determined in gradle? -


before projects built settings object created contains rootdir variable.

rootdir : root directory of build. root directory project directory of root project.

also documentation states can never null.

file getrootdir()  returns root directory of build. root directory project directory of root project.  returns:     root directory. never returns null. 

i want know how rootdir determined in multi build project. highest level directory containing build.gradle?

the details can discovered in test specification

simple version: goes directory hierarchy , searches settings.gradle file. if not found or when started --no-search-upward can return current directory. or can pass location of settings.gradle using --settings-file.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -