9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-19 15:09:27 +00:00

Re-add PerfectDreams' repository

This commit is contained in:
MrPowerGamerBR
2025-01-14 00:54:24 -03:00
parent 8e7b51f5d7
commit f060ddc932

View File

@@ -85,3 +85,31 @@ subprojects {
}
}
}
allprojects {
// Publishing API:
// ./gradlew :SparklyPaper-API:publish[ToMavenLocal]
publishing {
repositories {
maven {
name = "PerfectDreams"
url = uri("https://repo.perfectdreams.net/")
// See Gradle docs for how to provide credentials to PasswordCredentials
// https://docs.gradle.org/current/samples/sample_publishing_credentials.html
credentials(PasswordCredentials::class)
}
}
}
}
publishing {
// Publishing dev bundle:
// ./gradlew publishDevBundlePublicationTo(MavenLocal|MyRepoSnapshotsRepository) -PpublishDevBundle
if (project.hasProperty("publishDevBundle")) {
publications.create<MavenPublication>("devBundle") {
artifact(tasks.generateDevelopmentBundle) {
artifactId = "dev-bundle"
}
}
}
}