Not able to make Gradle work with Proxy using SPNEGO Kerberos

Gradle Version: 4.6
OS: Windows 7 32-bit

I’m behind Proxy which is using Kerberos for authentication. I have set the below properties in

But, it doesn’t work and below is run gradle with --debug

gradle --debug

I see from the --debug that it is trying to use NTLM insted of NEGOTIATE

I think Gradle is using Apache HTTP Client. And I tried to create a small code using HTTPClient and I’m able to make it work

I tried setting HTTPClient logging options. But, unable get any RAW HTTP Request/Response for tracing.

Anyone can guide me how to solve the issue.

My bad, solved with adding https proxy :sweat_smile: