From 0a6b2f4feafc804f764c6cbc6ce3d8861cd3fd1d Mon Sep 17 00:00:00 2001 From: bridge Date: Mon, 28 Jul 2025 17:10:50 +0200 Subject: [PATCH] chore: publish plugin --- plugin/build.gradle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/plugin/build.gradle b/plugin/build.gradle index 8deda2e..fa9ec18 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -42,4 +42,19 @@ shadowJar { minimize() } +publishing { + publications { + mavenJava(MavenPublication) { + from components.java + artifactId = "znpcsplus-plugin" + + pom { + name.set("znpcsplus-plugin") + description.set("The API for the ZNPCsPlus plugin") + url.set("https://github.com/Pyrbu/ZNPCsPlus") + } + } + } +} + tasks.assemble.dependsOn shadowJar \ No newline at end of file