From e7c3901c9573433bdec80137d9532882ac3541f5 Mon Sep 17 00:00:00 2001 From: KemalSoysal Date: Fri, 15 Dec 2023 20:55:25 +0100 Subject: [PATCH 1/3] #16 add SPDX compliant license, organization and scm information to the pom.xml --- build.gradle | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/build.gradle b/build.gradle index 7b26277..a2a50e0 100644 --- a/build.gradle +++ b/build.gradle @@ -53,6 +53,38 @@ publishing { } artifactId distroType version "${jdk_version}-${jdk_build}" + pom { + licenses { + // official SPDX identifier + // see https://spdx.org/licenses/ for list + license { + name = "GPL-2.0-only" + url = "https://github.com/JetBrains/JetBrainsRuntime/blob/jb${jdk_version}-${jdk_build}/LICENSE" + comments = "GNU GENERAL PUBLIC LICENSE Version 2, June 1991" + distribution = "repo" + } + license { + name = "WITH Classpath-exception-2.0" + url = "https://github.com/JetBrains/JetBrainsRuntime/blob/jb${jdk_version}-${jdk_build}/ADDITIONAL_LICENSE" + comments = "Oracle Classpath exception 2.0" + distribution = "repo" + } + license { + name = "WITH OpenJDK-assembly-exception-1.0" + url = "https://github.com/JetBrains/JetBrainsRuntime/blob/jb${jdk_version}-${jdk_build}/ASSEMBLY_EXCEPTION" + comments = "OpenJDK Assembly exception 1.0" + distribution = "repo" + } + } + organization { + name = "JetBrains s.r.o" + url = "https://www.jetbrains.com" + } + scm { + tag = "jb${jdk_version}-${jdk_build}" + url = "https.//github.com/JetBrains/JetBrainsRuntime.git" + } + } } } } From 4a952c6e03d9ccfb80d7ed255bad549cc5b662a1 Mon Sep 17 00:00:00 2001 From: KemalSoysal Date: Sat, 16 Dec 2023 09:28:52 +0100 Subject: [PATCH 2/3] #16 apply review finding fixing wrong file name --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a2a50e0..4df49b7 100644 --- a/build.gradle +++ b/build.gradle @@ -65,7 +65,7 @@ publishing { } license { name = "WITH Classpath-exception-2.0" - url = "https://github.com/JetBrains/JetBrainsRuntime/blob/jb${jdk_version}-${jdk_build}/ADDITIONAL_LICENSE" + url = "https://github.com/JetBrains/JetBrainsRuntime/blob/jb${jdk_version}-${jdk_build}/ADDITIONAL_LICENSE_INFO" comments = "Oracle Classpath exception 2.0" distribution = "repo" } From 82482daea8aae97e61b538c123d0cfaef6d33475 Mon Sep 17 00:00:00 2001 From: KemalSoysal Date: Sat, 16 Dec 2023 09:30:10 +0100 Subject: [PATCH 3/3] #16 apply review finding fix scm url --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4df49b7..f694bb3 100644 --- a/build.gradle +++ b/build.gradle @@ -82,7 +82,7 @@ publishing { } scm { tag = "jb${jdk_version}-${jdk_build}" - url = "https.//github.com/JetBrains/JetBrainsRuntime.git" + url = "https://github.com/JetBrains/JetBrainsRuntime.git" } } }