From 193120a84a6ea84067113e3e180b65b0553a1a30 Mon Sep 17 00:00:00 2001 From: Underscore11 Date: Sat, 19 Dec 2020 19:54:15 -0800 Subject: [PATCH] Fix Publishing (#126) --- CarbonChat-API/build.gradle | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CarbonChat-API/build.gradle b/CarbonChat-API/build.gradle index ee9f435b..b38123a0 100644 --- a/CarbonChat-API/build.gradle +++ b/CarbonChat-API/build.gradle @@ -1,5 +1,6 @@ plugins { id 'java-library' + id 'maven-publish' } description 'CarbonChat-API' @@ -32,3 +33,16 @@ dependencies { compileOnlyApi "net.luckperms:api:${vers['luckperms-api']}" } + + +publishing { + publications { + maven(MavenPublication) { + groupId = 'net.draycia' + artifactId = description + version = projectVersion // No hash + + from components.java + } + } +}