From 8cbf3c3941a1b92415bfe7573e546f3f251e35a7 Mon Sep 17 00:00:00 2001 From: "BT (calcastor/mame)" <43831917+calcastor@users.noreply.github.com> Date: Mon, 26 Jan 2026 08:29:26 -0800 Subject: [PATCH] Publish util module Signed-off-by: BT (calcastor/mame) <43831917+calcastor@users.noreply.github.com> --- util/build.gradle.kts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/util/build.gradle.kts b/util/build.gradle.kts index 8a81375d..a98daf0e 100644 --- a/util/build.gradle.kts +++ b/util/build.gradle.kts @@ -1,7 +1,28 @@ plugins { id("buildlogic.java-conventions") + `maven-publish` } dependencies { compileOnly("dev.pgm.paper:paper-api:1.8_1.21.10-SNAPSHOT") +} + +publishing { + publications.create("community") { + groupId = project.group as String + artifactId = project.name + version = project.version as String + + artifact(tasks["jar"]) + } + repositories { + maven { + name = "ghPackages" + url = uri("https://maven.pkg.github.com/PGMDev/Community") + credentials { + username = System.getenv("GITHUB_ACTOR") + password = System.getenv("GITHUB_TOKEN") + } + } + } } \ No newline at end of file