From f21d68e6305dec1278d5f5fce28aca8d6da2922d Mon Sep 17 00:00:00 2001 From: Exlll Date: Fri, 23 Feb 2024 23:45:31 +0100 Subject: [PATCH] Configure GenerateMavenPom task --- .../src/main/kotlin/core-config.gradle.kts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/buildSrc/src/main/kotlin/core-config.gradle.kts b/buildSrc/src/main/kotlin/core-config.gradle.kts index 3d86ea6..395442a 100644 --- a/buildSrc/src/main/kotlin/core-config.gradle.kts +++ b/buildSrc/src/main/kotlin/core-config.gradle.kts @@ -52,6 +52,35 @@ publishing { publications { register(publicationName) { from(components["java"]) + + pom { + + name = "ConfigLib ${publicationName}" + description = "A Minecraft library for saving, loading, updating, " + + "and commenting YAML configuration files." + url = "https://github.com/Exlll/ConfigLib" + + developers { + developer { + name = "Exlll" + email = "exlll321@gmail.com" + url = "https://github.com/Exlll" + } + } + + licenses { + license { + name = "MIT License" + url = "https://opensource.org/license/mit" + } + } + + scm { + connection = "scm:git:git://github.com/Exlll/ConfigLib.git" + developerConnection = "scm:git:ssh://github.com:Exlll/ConfigLib.git" + url = "https://github.com/Exlll/ConfigLib/tree/master" + } + } } } }