mirror of
https://github.com/plexusorg/Plex.git
synced 2025-06-26 21:56:41 +00:00
do this instead
This commit is contained in:
@ -96,7 +96,9 @@ tasks {
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) {
|
||||
dependsOn(publishPlexReleasesPublicationToMavenRepository)
|
||||
if (!getVersion().toString().toLowerCase().endsWith("-snapshot")) {
|
||||
dependsOn(publishPlexReleasesPublicationToMavenRepository)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user