From 751ccc003bbe6437529d4533907a24a4f21c88a5 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Tue, 22 Feb 2022 00:38:13 -0600 Subject: [PATCH 1/3] try this --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 57566a5..9746e3b 100644 --- a/build.gradle +++ b/build.gradle @@ -68,7 +68,7 @@ publishing { repositories { maven { if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) { - url("https://nexus.telesphoreo.me/repository/plex-releases/") + uri("https://nexus.telesphoreo.me/repository/plex-releases/") credentials { username = System.getenv("plex_repo_user") password = System.getenv("plex_repo_pass") @@ -82,7 +82,7 @@ publishing { repositories { maven { if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) { - url("https://nexus.telesphoreo.me/repository/plex-snapshots/") + uri("https://nexus.telesphoreo.me/repository/plex-snapshots/") credentials { username = System.getenv("plex_repo_user") password = System.getenv("plex_repo_pass") From 77967c39f9df9255cc8aa24664ce5c05423c0f24 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Tue, 22 Feb 2022 00:40:31 -0600 Subject: [PATCH 2/3] try this x2 --- build.gradle | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/build.gradle b/build.gradle index 9746e3b..20bdc6f 100644 --- a/build.gradle +++ b/build.gradle @@ -67,12 +67,10 @@ publishing { from(components.java) repositories { maven { - if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) { - uri("https://nexus.telesphoreo.me/repository/plex-releases/") - credentials { - username = System.getenv("plex_repo_user") - password = System.getenv("plex_repo_pass") - } + uri("https://nexus.telesphoreo.me/repository/plex-releases/") + credentials { + username = System.getenv("plex_repo_user") + password = System.getenv("plex_repo_pass") } } } @@ -81,12 +79,10 @@ publishing { from(components.java) repositories { maven { - if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) { - uri("https://nexus.telesphoreo.me/repository/plex-snapshots/") - credentials { - username = System.getenv("plex_repo_user") - password = System.getenv("plex_repo_pass") - } + uri("https://nexus.telesphoreo.me/repository/plex-snapshots/") + credentials { + username = System.getenv("plex_repo_user") + password = System.getenv("plex_repo_pass") } } } @@ -101,8 +97,10 @@ tasks.withType(JavaCompile) { tasks { build { dependsOn(shadowJar) - if (getVersion().toString().toLowerCase().endsWith("-snapshot")) { - dependsOn(publishPlexSnapshotsPublicationToMaven2Repository) + if (System.getenv("plex_repo_user") != null && System.getenv("plex_repo_pass") != null) { + if (getVersion().toString().toLowerCase().endsWith("-snapshot")) { + dependsOn(publishPlexSnapshotsPublicationToMaven2Repository) + } } } From c64d04b9a37e934dfbe74a053e199efd8ab39bbd Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Tue, 22 Feb 2022 00:51:46 -0600 Subject: [PATCH 3/3] no --- src/main/java/dev/plex/rank/enums/Rank.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/plex/rank/enums/Rank.java b/src/main/java/dev/plex/rank/enums/Rank.java index b18ddec..85cf285 100644 --- a/src/main/java/dev/plex/rank/enums/Rank.java +++ b/src/main/java/dev/plex/rank/enums/Rank.java @@ -16,7 +16,7 @@ public enum Rank { IMPOSTOR(-1, ChatColor.AQUA + "an " + ChatColor.YELLOW + "Impostor", "Impostor", "&8[&eImp&8]"), NONOP(0, "a " + ChatColor.WHITE + "Non-Op", "Non-Op", ""), - OP(1, "an " + ChatColor.GREEN + "Operator", "Operator", "&8[&aOp&8]"), + OP(1, "an " + ChatColor.GREEN + "Operator", "Operator", "&8[&aOP&8]"), ADMIN(2, "an " + ChatColor.DARK_GREEN + "Admin", "Admin", "&8[&2Admin&8]"), SENIOR_ADMIN(3, "a " + ChatColor.GOLD + "Senior Admin", "Senior Admin", "&8[&6SrA&8]"), EXECUTIVE(4, "an " + ChatColor.RED + "Executive", "Executive", "&8[&cExec&8]");