mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-04 13:54:35 +01:00
Start publishing to "me.libraryaddict.disguises:libsdisguises" instead of "LibsDisguises:LibsDisguises"
This commit is contained in:
parent
782c944e44
commit
bdac2ba9fb
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user