Start publishing to "me.libraryaddict.disguises:libsdisguises" instead of "LibsDisguises:LibsDisguises"

This commit is contained in:
libraryaddict 2024-08-07 12:06:56 +12:00
parent 782c944e44
commit bdac2ba9fb

View File

@ -20,9 +20,12 @@ dependencies {
publishing {
repositories {
// If this is a snapshot build, use the snapshot repo
// If 'publishToExternalRepo' is false or missing, only publish to local.
// Else if this is a snapshot build, use the snapshot repo
// Otherwise, use the release repo
if (project.version.toString().contains("-SNAPSHOT")) {
if (System.getProperty("publishToExternalRepo", "false").equals("false")) {
mavenLocal();
} else if (project.version.toString().contains("-SNAPSHOT")) {
maven {
name = "md_5-snapshots"
url = uri("https://repo.md-5.net/content/repositories/snapshots/")
@ -39,8 +42,7 @@ publishing {
create<MavenPublication>("mavenJava") {
from(components["java"])
groupId = "LibsDisguises"
artifactId = "LibsDisguises"
artifactId = "libsdisguises"
}
}
}