mirror of
https://github.com/plexusorg/Plex.git
synced 2024-09-28 13:03:10 +00:00
do this instead
This commit is contained in:
parent
ed3aaa5692
commit
8b4a5d64a0
|
@ -96,7 +96,9 @@ tasks {
|
||||||
build {
|
build {
|
||||||
dependsOn(shadowJar)
|
dependsOn(shadowJar)
|
||||||
if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) {
|
if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) {
|
||||||
dependsOn(publishPlexReleasesPublicationToMavenRepository)
|
if (!getVersion().toString().toLowerCase().endsWith("-snapshot")) {
|
||||||
|
dependsOn(publishPlexReleasesPublicationToMavenRepository)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue