diff --git a/build.gradle.kts b/build.gradle.kts index 14dc9cf..f5cdb07 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" @@ -43,6 +44,22 @@ tasks { } } +publishing { + publications { + create("mavenJava") { + from(components["java"]) + } + } + + repositories{ + maven { + name = "maven" + url = uri("https://repo.destro.xyz/snapshots") + credentials(PasswordCredentials::class) + } + } +} + dependencies { compileOnly("com.alttd:Galaxy-API:1.19.2-R0.1-SNAPSHOT") } \ No newline at end of file