From c749d29471815d7bdac847087281c7e5679a1e18 Mon Sep 17 00:00:00 2001 From: destro174 <40720638+destro174@users.noreply.github.com> Date: Tue, 15 Feb 2022 09:43:02 +0100 Subject: [PATCH] Add publishing --- build.gradle.kts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index ff921f6..00012e2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,6 @@ plugins { `java` + `maven-publish` id("com.github.johnrengelman.shadow") version "7.0.0" } @@ -70,4 +71,21 @@ dependencies { } } + } + +publishing { + publications { + create("mavenJava") { + from(components["java"]) + } + } + + repositories{ + maven { + name = "maven" + url = uri("https://repo.destro.xyz/snapshots") + credentials(PasswordCredentials::class) + } + } +} \ No newline at end of file