mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Fix OpenJDK source code download url in dependencies report (#64442)
This commit is contained in:
parent
02d672370e
commit
991e49a53e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ tasks.register("generateDependenciesReport", ConcatFilesTask) {
|
|||
target = new File(System.getProperty('csv') ?: "${project.buildDir}/reports/dependencies/es-dependencies.csv")
|
||||
|
||||
// explicitly add our dependency on the JDK
|
||||
String jdkVersion = VersionProperties.versions.get('bundled_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"
|
||||
additionalLines << "OpenJDK,${jdkVersion},https://openjdk.java.net/,GPL-2.0-with-classpath-exception,${sourceUrl}".toString()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue