Skip to content

Commit c6ec78b

Browse files
authored
Fix dependency report link to JDK sources (#75742)
OpenJDK sources have migrated to GitHub, so we need to update the link we generate in our dependencies report appropriately.
1 parent 02c2943 commit c6ec78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tasks.register("generateDependenciesReport", ConcatFilesTask) {
4040
// explicitly add our dependency on the JDK
4141
String jdkVersion = VersionProperties.versions.get('bundled_jdk').split('@')[0]
4242
String jdkMajorVersion = jdkVersion.split('[+.]')[0]
43-
String sourceUrl = "https://hg.openjdk.java.net/jdk-updates/jdk${jdkMajorVersion}u/archive/jdk-${jdkVersion}.tar.gz"
43+
String sourceUrl = "https://github.com/openjdk/jdk${jdkMajorVersion}u/archive/refs/tags/jdk-${jdkVersion}.tar.gz"
4444
additionalLines << "OpenJDK,${jdkVersion},https://openjdk.java.net/,GPL-2.0-with-classpath-exception,${sourceUrl}".toString()
4545

4646
// Explicitly add the dependency on the RHEL UBI Docker base image

0 commit comments

Comments
 (0)