get publishing ready

This commit is contained in:
William Blake Galbreath
2021-06-21 21:32:05 -05:00
parent 83af9e22db
commit 028c048036

View File

@@ -25,6 +25,7 @@ dependencies {
subprojects {
apply(plugin = "java")
apply(plugin = "maven-publish")
java {
toolchain {
@@ -48,6 +49,14 @@ subprojects {
maven("https://nexus.velocitypowered.com/repository/velocity-artifacts-snapshots/")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
}
configure<PublishingExtension> {
repositories.maven {
name = "maven"
url = uri("https://repo.pl3x.net/snapshots")
credentials(PasswordCredentials::class)
}
}
}
paperweight {