mirror of
https://github.com/plexusorg/Plex.git
synced 2025-02-11 19:50:42 +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 {
|
task publishRelease {
|
||||||
dependsOn(publishPlexReleasesPublicationToMavenRepository)
|
dependsOn(publishPlexReleasesPublicationToMavenRepository)
|
||||||
|
}
|
||||||
|
|
||||||
|
task publishSnapshot {
|
||||||
|
dependsOn(publishPlexSnapshotsPublicationToMaven2Repository)
|
||||||
}
|
}
|
Loading…
Reference in a new issue