Use https for JDK sources (#59111)
This commit switches to using https to refer to the JDK sources.
This commit is contained in:
parent
189d69d826
commit
b2e5a08798
|
@ -45,7 +45,7 @@ tasks.register("generateDependenciesReport", ConcatFilesTask) {
|
|||
// explicitly add our dependency on the JDK
|
||||
String jdkVersion = VersionProperties.versions.get('bundled_jdk')
|
||||
String jdkMajorVersion = jdkVersion.split('[+.]')[0]
|
||||
String sourceUrl = "http://hg.openjdk.java.net/jdk-updates/jdk${jdkMajorVersion}u/archive/jdk-${jdkVersion}.tar.gz"
|
||||
String sourceUrl = "https://hg.openjdk.java.net/jdk-updates/jdk${jdkMajorVersion}u/archive/jdk-${jdkVersion}.tar.gz"
|
||||
additionalLines << "OpenJDK,${jdkVersion},https://openjdk.java.net/,GPL-2.0-with-classpath-exception,${sourceUrl}".toString()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue