From ba7f83e660a95c3bc7312aa839b954ce72649f96 Mon Sep 17 00:00:00 2001 From: Willem Jan Glerum Date: Thu, 11 Apr 2024 12:37:45 +0200 Subject: [PATCH] Provide basic information in POM (#156) This makes sure the license shows up when you generate the SBOM. --- build.gradle.kts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 5aff28a..77b3ddf 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -128,6 +128,20 @@ publishing { fromResolutionResult() } } + pom { + url.set("https://github.com/mbeddr/mps-gradle-plugin") + licenses { + license { + name.set("The Apache License, Version 2.0") + url.set("https://www.apache.org/licenses/LICENSE-2.0.txt") + } + } + scm { + connection.set("scm:git:git://github.com/mbeddr/mps-gradle-plugin.git") + developerConnection.set("scm:git:ssh://github.com/mbeddr/mps-gradle-plugin.git") + url.set("https://github.com/mbeddr/mps-gradle-plugin") + } + } } }