Gradlew behind a proxy

后端 未结 16 1470
一个人的身影
一个人的身影 2020-12-04 12:26

I have a sample from Gaelyk (called Bloogie) and it is using gradlew.

I am behind a proxy.

I\'ve read gradle docs and found this:

gradle.properties

16条回答
  •  [愿得一人]
    2020-12-04 12:40

    All you have to do is to create a file called gradle.properties (with the properties you mentioned above) and place it under your gradle user home directory (which defaults to USER_HOME/.gradle) OR in your project directory.

    Gradle (the wrapper too!!!) automatically picks up gradle.properties files if found in the user home directory or project directories.

    For more info, read the Gradle user guide, especially at section 12.3: Accessing the web via a proxy

提交回复
热议问题