mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
get publishing ready
This commit is contained in:
@@ -25,6 +25,7 @@ dependencies {
|
|||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
apply(plugin = "java")
|
apply(plugin = "java")
|
||||||
|
apply(plugin = "maven-publish")
|
||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
@@ -48,6 +49,14 @@ subprojects {
|
|||||||
maven("https://nexus.velocitypowered.com/repository/velocity-artifacts-snapshots/")
|
maven("https://nexus.velocitypowered.com/repository/velocity-artifacts-snapshots/")
|
||||||
maven("https://oss.sonatype.org/content/repositories/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 {
|
paperweight {
|
||||||
|
|||||||
Reference in New Issue
Block a user