mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 01:27:37 +00:00
make it work for macs
This commit is contained in:
parent
e446002567
commit
52111e5d8d
12
build.gradle
12
build.gradle
@ -81,15 +81,15 @@ tasks {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task snapshotPublish {
|
task snapshotPublish {
|
||||||
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) {
|
||||||
System.out.println("Publishing")
|
System.out.println("Publishing")
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url = "https://nexus.telesphoreo.me/repository/plex-snapshots/"
|
url = "https://nexus.telesphoreo.me/repository/plex-snapshots/"
|
||||||
credentials {
|
credentials {
|
||||||
username = System.getenv("plex-repo-user")
|
username = System.getenv("plex_repo_user")
|
||||||
password = System.getenv("plex-repo-pass")
|
password = System.getenv("plex_repo_pass")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -99,15 +99,15 @@ task snapshotPublish {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task releasePublish {
|
task releasePublish {
|
||||||
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) {
|
||||||
System.out.println("Publishing")
|
System.out.println("Publishing")
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url = "https://nexus.telesphoreo.me/repository/plex-releases/"
|
url = "https://nexus.telesphoreo.me/repository/plex-releases/"
|
||||||
credentials {
|
credentials {
|
||||||
username = System.getenv("plex-repo-user")
|
username = System.getenv("plex_repo_user")
|
||||||
password = System.getenv("plex-repo-pass")
|
password = System.getenv("plex_repo_pass")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user