Allow publishing snapshots once again

This commit is contained in:
Telesphoreo 2022-03-31 01:54:25 -05:00
parent 6d30b2a14d
commit 47b3054739
1 changed files with 16 additions and 0 deletions

View File

@ -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)
}