From e2b827a66816bac92ee01399b8810ebeff9e37a1 Mon Sep 17 00:00:00 2001 From: destro174 <40720638+destro174@users.noreply.github.com> Date: Tue, 4 Jan 2022 00:07:24 +0100 Subject: [PATCH] Add deploying to repo --- build.gradle.kts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 8a5244c..5b0548c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,6 +3,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocatio plugins { id("java") id("com.github.johnrengelman.shadow") version "7.1.0" + id("maven-publish") } group = "com.alttd" @@ -17,6 +18,16 @@ java { } } +publishing { + repositories{ + maven { + name = "alttd" + url = uri("https://repo.destro.xyz/snapshots") + credentials(PasswordCredentials::class) + } + } +} + tasks { withType { options.encoding = Charsets.UTF_8.name()