Source code for Settings object?


(armin.groll) #1

Hi there,

I cannot find the source code of the Settings object which is the ‘context’ of a settings.gradle file. I’d like to check the implementation of the include and includeFlat methods.

Can anybody point me to an URL on github or whatever?

Best Regards, and Thanks in advance,

Armin


(Benjamin Muschko) #2

You’ll probably be most interested in BaseSettings.java. An easy way to search for classes is to navigate to the repository on GitHub (in this case https://github.com/gradle/gradle), press the ‘t’ key and then enter the file or class name you are looking for.


(armin.groll) #3

BaseSettings was exactly what I was looking for.

Thank you very much!