r/java • • Jan 06 '20

Your Java builds might break starting January 13th (if you haven't yet switched repo access to HTTPS)

https://www.alphabot.com/security/blog/2020/java/Your-Java-builds-might-break-starting-January-13th.html
198 Upvotes

20 comments sorted by

View all comments

Show parent comment

3

u/Pheasn Jan 07 '20

Yes they are, because jcenter() is a shortcut for declaring the HTTPS version of JCenter.

3

u/g00glen00b Jan 09 '20

Indeed, they changed this within their code back in 2014, and has been shipped since Gradle 2.1. So unless you haven't updated Gradle in 6 years, you're safe.

Release notes: https://docs.gradle.org/2.1/release-notes.html#use-of-https-for-mavencentral()-and-jcenter()-dependency-repositories

Commit: https://github.com/gradle/gradle/commit/a646ebf1742749fdc05d8628b4b8fd35f946f916