gradlew npm_config_set_proxy code example
Example: set yarn proxy
yarn config set proxy http://user:password@host:port
yarn config set https-proxy http://user:password@host:port
yarn config set proxy http://user:password@host:port
yarn config set https-proxy http://user:password@host:port