From 63d082a5199e8f60cd248c5260b1defd9dc27353 Mon Sep 17 00:00:00 2001 From: KemalSoysal Date: Fri, 15 Dec 2023 22:41:21 +0100 Subject: [PATCH] #720 add a SPDX compliant license and organization into the published mps-extensions pom --- build.gradle | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 31484f9bf..6ab667f82 100644 --- a/build.gradle +++ b/build.gradle @@ -331,7 +331,22 @@ allprojects { } } } - +def additionalPomInfo = { + licenses { + // official SPDX identifier + // see https://spdx.org/licenses/ for list + license { + name = "Apache-2.0" + url = "http://www.apache.org/licenses/LICENSE-2.0.txt" + comments = "A business-friendly OSS license" + distribution = "repo" + } + } + organization { + name = "JetBrains s.r.o" + url = "https://www.jetbrains.com" + } +} publishing { publications { extensions(MavenPublication) { @@ -350,6 +365,7 @@ publishing { dependencyNode.appendNode('scope', 'provided') } } + pom additionalPomInfo } } }