Thanks for interesting link. It is a great project but in my situation it doesn't give me what I really need. I managed to configure my TaxiCity project by doing:
- Every worker has it's own local.properties on PC that are not pushed to repo with commits.
- TeamCity builds project from repo but there is no local.properties - because of that he will look for ANDROID_HOME or give error if won't find it.
- Because setting ANDROID_HOME environment variable on PC which is a server doesn't work, I found a workaround which is: setting ANDROID_HOME variable inside TeamCity server file - buildAgent.properties
- TeamCity can't find local.properties (because it's not on repo), gets SDK location installed on server from ANDROID_HOME variable located in buildAgent.properties file