To add more nuances, for my case, when I have several gradle.properties files both in USER_HOME / .gradle and in the project root, I encountered a 407 authentication request error with the following log:
CONNECT refused by proxy: HTTP/1.1 407 authenticationrequired
This caused my systemProp.https.proxyPassword and systemProp.http.proxyPassword empty in the gradle.properties file under USER_HOME / .gradle, and the file in gradle.properties under the project root was password information.
I donβt know the exact reason, but when I delete one gradle.properties in the root of the project and save the file in USER_HOME / .gradle, my case is resolved.
giang nguyen Apr 24 '18 at 6:30 2018-04-24 06:30
source share