android - ANDROID_HOME not overriding local.properties -


i have local.properties file in git repo android project. on build server checking out git , running gradle targets execute unit tests. build server linux , i'm on mac android sdk installed different, change don't want to.

does android_home override local.properties; can't tell if i'm setting environment variable correctly in jenkins (build server) or if local.properties beats env variable.

source i've been reading is: http://tools.android.com/tech-docs/new-build-system/user-guide

note: need local.properties file set location of sdk in same way existing sdk requires, using sdk.dir property. alternatively, can set environment variable called android_home.

on tools i've seen, local configuration override environment variables.

from jenkins perspective, using environment variables makes sense can propagated multiple projects.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -