android - How to set proxy settings not in project's gradle.properties? -


i need set proxy settings android studio (v1.5.1) project (on ubuntu). every time need (e.g. when downloading external library), android studio proposes write them gradle.properties, no other option.

since file version-controlled on git repository, need set them somewhere else.

any suggestion?

you can use /home/user/.gradle/gradle.properties file.

this file not under version control , used projects in machine. file used gradle without setting, , can use store reserved data example.

the configuration applied in following order (if option configured in multiple locations last 1 wins):

  • from gradle.properties in project build dir.
  • from gradle.properties in gradle user home.

Comments

Popular posts from this blog

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -