systemProp.http.proxyHost=your.proxy.server systemProp.http.proxyPort=8080 systemProp.https.proxyHost=your.proxy.server systemProp.https.proxyPort=8080 Use code with caution.
A common cause for this specific UncheckedIOException is an SSLHandshakeException . This happens if your Java Virtual Machine (JVM) doesn't trust the SSL certificate from the Gradle servers, often due to SSL-intercepting security software like ZScaler. systemProp
If you are behind a corporate firewall, Gradle might not have the permissions needed to reach services.gradle.org . systemProp
keytool -import -alias gradleDownload -file cert.pem -keystore "$JAVA_HOME/lib/security/cacerts" -storepass changeit Use code with caution. systemProp