mirror of
https://github.com/plexusorg/Plex.git
synced 2025-02-11 11:40:48 +00:00
Allow publishing snapshots once again
This commit is contained in:
parent
6d30b2a14d
commit
47b3054739
1 changed files with 16 additions and 0 deletions
16
build.gradle
16
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)
|
||||
}
|
Loading…
Reference in a new issue