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()