5.0.0
This release brings breaking changes about HTTP/HTTPS proxy management, to provide support of JVM network properties. proxy*
properties in the plugin are renamed, and default value for port changes.
Features
Bug fixes
- Fixed
ConcurrentModificationException
thrown when Gradle's parallel mode is enabled (#141) - Fixed "Invalid cookie header" warnings when running task
installYarn
(#134)
Tasks
- Migrate CI to GitHub actions instead of Travis (#145)
Upgrading from 4.0.0+
- The plugin's extension now supports distinct settings:
- To configure usage of a proxy for HTTPS requests: use
httpsProxyHost
,httpsProxyPort
,httpsProxyUsername
,httpsProxyPassword
properties. - To configure usage of a proxy for HTTP requests: use
httpProxyHost
,httpProxyPort
,httpProxyUsername
,httpProxyPassword
properties.
JVM network property http.nonProxyHosts
is also used now by the plugin to eventually disable proxying, for both HTTP and HTTPS requests.
- If you were using former
proxy*
properties, in most cases, you should just have to rename these properties intohttpsProxy*
properties, orhttpProxy*
properties if you used non-secure URLs innodeDistributionUrlRoot
oryarnDistributionUrlRoot
properties. You may also have to set explicitly proxy port withhttpsProxyPort
orhttpProxyPort
properties, because the default value changed. - If you were not using former
proxy*
properties, upgrading should be effortless as long as your JVM network properties allow downloading distributions.
- Default value for the proxy port is changed
Formerly, the plugin used port 8080 as the default value for the proxyPort
property. With new httpsProxyPort
and httpProxyPort
properties, default values are port 443 and port 80 respectively.