New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle and Java 7: unable to download from Maven Central #5740
Comments
Proposed solution:
|
I am still having issues even thought it seemed to work for me a few days ago. Error resolving plugin [id: 'com.bmuschko.tomcat', version: '2.2.5']
|
@RicKla Are you using 4.8.1? |
That's because of #5777, where JCenter has a different twist on the story. |
Seems not working on JDK7... gradle/gradle#5740 Download fails with this error: ``` Received fatal alert: protocol_version ``` and setting -Dhttps.protocols does not affect.
Due to the changes to Maven Central setup on June 18th 2018, effectively banning
TLSv1
andTLSv1.1
, when using Java 7 Gradle versions that encode the Maven CentralHTTPS
url can no longer download artifacts.See https://central.sonatype.org/articles/2018/May/04/discontinue-support-for-tlsv11-and-below/ for etails.
Note that this issue will affect JCenter as of June 24th 2018 - see https://jfrog.com/knowledge-base/why-am-i-failing-to-work-with-jfrog-saas-service-with-tls-1-0-1-1/
Status of Gradle versions:
2.1
, unaffected.2.1
-2.14.1
and using Java 6, affectedmavenCentral()
3.0
-4.8
and using Java 71.7.0_131-b31
or if not possiblemavenCentral()
3.0
-4.8
and using Java 8+, unaffected.The text was updated successfully, but these errors were encountered: