From 03fff3d96d897967ab7dd35cf73e99b1b37de628 Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Tue, 27 Jul 2021 09:45:54 -0700 Subject: [PATCH] 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. --- distribution/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/build.gradle b/distribution/build.gradle index 5a09dd0010a3c..d6d527916239b 100644 --- a/distribution/build.gradle +++ b/distribution/build.gradle @@ -40,7 +40,7 @@ tasks.register("generateDependenciesReport", ConcatFilesTask) { // explicitly add our dependency on the JDK String jdkVersion = VersionProperties.versions.get('bundled_jdk').split('@')[0] String jdkMajorVersion = jdkVersion.split('[+.]')[0] - String sourceUrl = "https://hg.openjdk.java.net/jdk-updates/jdk${jdkMajorVersion}u/archive/jdk-${jdkVersion}.tar.gz" + String sourceUrl = "https://github.com/openjdk/jdk${jdkMajorVersion}u/archive/refs/tags/jdk-${jdkVersion}.tar.gz" additionalLines << "OpenJDK,${jdkVersion},https://openjdk.java.net/,GPL-2.0-with-classpath-exception,${sourceUrl}".toString() // Explicitly add the dependency on the RHEL UBI Docker base image