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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -