From ed3aaa5692127d99155733ca15ba9fd71e4d3b84 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Fri, 25 Feb 2022 17:25:32 -0600 Subject: [PATCH] Test push again --- build.gradle | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/build.gradle b/build.gradle index 58e53ac..6ef2393 100644 --- a/build.gradle +++ b/build.gradle @@ -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) } \ No newline at end of file