diff options
-rw-r--r-- | build.gradle.kts | 11 | ||||
-rw-r--r-- | src/main/java/moe/nea/libautoupdate/CurrentVersion.java | 2 |
2 files changed, 2 insertions, 11 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 81439f9..e1f10e8 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { } group = "moe.nea" -version = "1.0.2" +version = "1.0.3" allprojects { apply(plugin = "java") @@ -73,13 +73,4 @@ publishing { } } } - repositories { - maven("https://repo.nea.moe/releases") { - name = "neamoeReleases" - credentials(PasswordCredentials::class) - authentication { - create<BasicAuthentication>("basic") - } - } - } } diff --git a/src/main/java/moe/nea/libautoupdate/CurrentVersion.java b/src/main/java/moe/nea/libautoupdate/CurrentVersion.java index e6e4ff8..eb8fc8a 100644 --- a/src/main/java/moe/nea/libautoupdate/CurrentVersion.java +++ b/src/main/java/moe/nea/libautoupdate/CurrentVersion.java @@ -49,7 +49,7 @@ public interface CurrentVersion { @Override public boolean isOlderThan(JsonElement element) { - return !new JsonPrimitive(tagName).equals(element); + return !element.isJsonPrimitive() || !element.getAsString().equalsIgnoreCase(tagName); } @Override |