From 47b3054739e60cb2e8887d93ca17b1a26949cd9c Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Thu, 31 Mar 2022 01:54:25 -0500 Subject: [PATCH] Allow publishing snapshots once again --- build.gradle | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/build.gradle b/build.gradle index 8518cd9..8f80569 100644 --- a/build.gradle +++ b/build.gradle @@ -118,6 +118,18 @@ 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") + } + } + } + } } } @@ -143,4 +155,8 @@ tasks { task publishRelease { dependsOn(publishPlexReleasesPublicationToMavenRepository) +} + +task publishSnapshot { + dependsOn(publishPlexSnapshotsPublicationToMaven2Repository) } \ No newline at end of file