Test push again

This commit is contained in:
Telesphoreo 2022-02-25 17:25:32 -06:00
parent c9e6e3d45d
commit ed3aaa5692
1 changed files with 1 additions and 21 deletions

View File

@ -85,18 +85,6 @@ publishing {
}
}
}
plexSnapshots(MavenPublication) {
from(components.java)
repositories {
maven {
url("https://nexus.telesphoreo.me/repository/plex-snapshots/")
credentials {
username = System.getenv("plex_repo_user")
password = System.getenv("plex_repo_pass")
}
}
}
}
}
}
@ -108,11 +96,7 @@ tasks {
build {
dependsOn(shadowJar)
if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) {
if (getVersion().toString().toLowerCase().endsWith("-snapshot")) {
dependsOn(publishPlexSnapshotsPublicationToMaven2Repository)
} else {
dependsOn(publishPlexReleasesPublicationToMavenRepository)
}
dependsOn(publishPlexReleasesPublicationToMavenRepository)
}
}
@ -123,8 +107,4 @@ tasks {
task publishRelease {
dependsOn(publishPlexReleasesPublicationToMavenRepository)
}
task publishSnapshot {
dependsOn(publishPlexSnapshotsPublicationToMaven2Repository)
}