diff --git a/README.md b/README.md index 7481629..df0d88b 100644 --- a/README.md +++ b/README.md @@ -5,21 +5,25 @@ Minimum Java version: Java 17 Recommended Minecraft Version: 1.16.5+ (older versions may work too, but are not supported) ## Maven dependency +Maven: ```xml - - - libraryofsouls - https://raw.githubusercontent.com/TeamMonumenta/library-of-souls/master/mvn-repo/ - - - - - - com.playmonumenta - libraryofsouls - 5.0 - provided - - + + monumenta + Monumenta Maven Repo + https://maven.playmonumenta.com/releases + +``` +Gradle (kotlin): +```kts +maven { + name = "monumenta" + url = uri("https://maven.playmonumenta.com/releases") +} +``` +Gradle (groovy): +```groovy +maven { + name "monumenta" + url "https://maven.playmonumenta.com/releases" +} ``` - diff --git a/build.gradle.kts b/build.gradle.kts index bf4093e..7697b31 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,63 +1,42 @@ -import net.minecrell.pluginyml.bukkit.BukkitPluginDescription import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar -import net.ltgt.gradle.errorprone.errorprone import net.ltgt.gradle.errorprone.CheckSeverity +import net.ltgt.gradle.errorprone.errorprone +import net.minecrell.pluginyml.bukkit.BukkitPluginDescription plugins { - java - `maven-publish` - id("com.palantir.git-version") version "0.12.2" - id("com.github.johnrengelman.shadow") version "7.1.2" - id("net.minecrell.plugin-yml.bukkit") version "0.5.1" // Generates plugin.yml - id("net.ltgt.errorprone") version "2.0.2" - id("net.ltgt.nullaway") version "1.3.0" - id("com.playmonumenta.deployment") version "1.0" - checkstyle - pmd + java + `maven-publish` + id("com.palantir.git-version") version "0.12.2" + id("com.github.johnrengelman.shadow") version "7.1.2" + id("net.minecrell.plugin-yml.bukkit") version "0.5.1" // Generates plugin.yml + id("net.ltgt.errorprone") version "2.0.2" + id("net.ltgt.nullaway") version "1.3.0" + id("com.playmonumenta.deployment") version "1.+" + checkstyle + pmd } repositories { - mavenLocal() - maven { - url = uri("https://repo.papermc.io/repository/maven-public/") - } - - maven { - url = uri("https://jitpack.io") - } - - maven { - url = uri("https://oss.sonatype.org/content/repositories/snapshots/") - } - - maven { - url = uri("https://raw.githubusercontent.com/TeamMonumenta/monumenta-redis-sync/master/mvn-repo/") - } - - maven { - url = uri("https://raw.githubusercontent.com/TeamMonumenta/NBTEditor/master/mvn-repo/") - } - - // NBT API, pulled in by CommandAPI - maven { - url = uri("https://repo.codemc.org/repository/maven-public/") - } - - maven { - url = uri("https://repo.maven.apache.org/maven2/") - } - - maven("https://repo.codemc.org/repository/maven-public/") + mavenLocal() + maven("https://repo.papermc.io/repository/maven-public/") + maven("https://jitpack.io") + maven("https://oss.sonatype.org/content/repositories/snapshots/") + maven("https://maven.playmonumenta.com/releases") + // NBT API, pulled in by CommandAPI + maven("https://repo.codemc.org/repository/maven-public/") + maven("https://repo.maven.apache.org/maven2/") + maven("https://repo.codemc.org/repository/maven-public/") } dependencies { - compileOnly("io.papermc.paper:paper-api:1.19.4-R0.1-SNAPSHOT") - compileOnly("dev.jorel:commandapi-bukkit-core:9.4.1") - compileOnly("com.playmonumenta:nbteditor:4.0") - compileOnly("com.playmonumenta:redissync:3.0") - compileOnly("com.google.code.gson:gson:2.8.5") - errorprone("com.google.errorprone:error_prone_core:2.10.0") - errorprone("com.uber.nullaway:nullaway:0.9.5") + compileOnly("io.papermc.paper:paper-api:1.19.4-R0.1-SNAPSHOT") + compileOnly("dev.jorel:commandapi-bukkit-core:9.4.1") + compileOnly("de.tr7zw:item-nbt-api-plugin:2.12.0-SNAPSHOT") + compileOnly("com.playmonumenta:redissync:4.1:all") + compileOnly("com.playmonumenta:nbteditor:4.1:all") + compileOnly("com.google.code.gson:gson:2.8.5") + errorprone("com.google.errorprone:error_prone_core:2.10.0") + errorprone("com.uber.nullaway:nullaway:0.9.5") } group = "com.playmonumenta" @@ -69,60 +48,86 @@ java.targetCompatibility = JavaVersion.VERSION_17 // Configure plugin.yml generation bukkit { - load = BukkitPluginDescription.PluginLoadOrder.POSTWORLD - main = "com.playmonumenta.libraryofsouls.LibraryOfSouls" - apiVersion = "1.18" - name = "LibraryOfSouls" - authors = listOf("The Monumenta Team") - depend = listOf("CommandAPI", "NBTEditor") - softDepend = listOf("MonumentaRedisSync") + load = BukkitPluginDescription.PluginLoadOrder.POSTWORLD + main = "com.playmonumenta.libraryofsouls.LibraryOfSouls" + apiVersion = "1.18" + name = "LibraryOfSouls" + authors = listOf("The Monumenta Team") + depend = listOf("CommandAPI", "NBTEditor") + softDepend = listOf("MonumentaRedisSync") } pmd { - isConsoleOutput = true - toolVersion = "6.41.0" - ruleSets = listOf("$rootDir/pmd-ruleset.xml") - setIgnoreFailures(true) + isConsoleOutput = true + toolVersion = "6.41.0" + ruleSets = listOf("$rootDir/pmd-ruleset.xml") + setIgnoreFailures(true) +} + +java { + withJavadocJar() + withSourcesJar() } publishing { - publications.create("maven") { - project.shadow.component(this) - } - repositories { - maven { - name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/TeamMonumenta/library-of-souls") - credentials { - username = System.getenv("GITHUB_ACTOR") - password = System.getenv("GITHUB_TOKEN") - } - } - } + publications { + create("maven") { + from(components["java"]) + } + } + repositories { + maven { + name = "MonumentaMaven" + url = when (version.toString().endsWith("SNAPSHOT")) { + true -> uri("https://maven.playmonumenta.com/snapshots") + false -> uri("https://maven.playmonumenta.com/releases") + } + + credentials { + username = System.getenv("USERNAME") + password = System.getenv("TOKEN") + } + } + } } tasks.withType().configureEach { - options.encoding = "UTF-8" - options.compilerArgs.add("-Xmaxwarns") - options.compilerArgs.add("10000") - options.compilerArgs.add("-Xlint:deprecation") - - options.errorprone { - option("NullAway:AnnotatedPackages", "com.playmonumenta") - - allErrorsAsWarnings.set(true) - - /*** Disabled checks ***/ - // These we almost certainly don't want - check("InlineMeSuggester", CheckSeverity.OFF) // We won't keep deprecated stuff around long enough for this to matter - check("CatchAndPrintStackTrace", CheckSeverity.OFF) // This is the primary way a lot of exceptions are handled - check("FutureReturnValueIgnored", CheckSeverity.OFF) // This one is dumb and doesn't let you check return values with .whenComplete() - check("ImmutableEnumChecker", CheckSeverity.OFF) // Would like to turn this on but we'd have to annotate a bunch of base classes - check("LockNotBeforeTry", CheckSeverity.OFF) // Very few locks in our code, those that we have are simple and refactoring like this would be ugly - check("StaticAssignmentInConstructor", CheckSeverity.OFF) // We have tons of these on purpose - check("StringSplitter", CheckSeverity.OFF) // We have a lot of string splits too which are fine for this use - check("MutablePublicArray", CheckSeverity.OFF) // These are bad practice but annoying to refactor and low risk of actual bugs - } + options.encoding = "UTF-8" + options.compilerArgs.add("-Xmaxwarns") + options.compilerArgs.add("10000") + options.compilerArgs.add("-Xlint:deprecation") + + options.errorprone { + option("NullAway:AnnotatedPackages", "com.playmonumenta") + + allErrorsAsWarnings.set(true) + + /*** Disabled checks ***/ + // These we almost certainly don't want + check( + "InlineMeSuggester", + CheckSeverity.OFF + ) // We won't keep deprecated stuff around long enough for this to matter + check("CatchAndPrintStackTrace", CheckSeverity.OFF) // This is the primary way a lot of exceptions are handled + check( + "FutureReturnValueIgnored", + CheckSeverity.OFF + ) // This one is dumb and doesn't let you check return values with .whenComplete() + check( + "ImmutableEnumChecker", + CheckSeverity.OFF + ) // Would like to turn this on but we'd have to annotate a bunch of base classes + check( + "LockNotBeforeTry", + CheckSeverity.OFF + ) // Very few locks in our code, those that we have are simple and refactoring like this would be ugly + check("StaticAssignmentInConstructor", CheckSeverity.OFF) // We have tons of these on purpose + check("StringSplitter", CheckSeverity.OFF) // We have a lot of string splits too which are fine for this use + check( + "MutablePublicArray", + CheckSeverity.OFF + ) // These are bad practice but annoying to refactor and low risk of actual bugs + } } ssh.easySetup(tasks.named("shadowJar").get(), "LibraryOfSouls") diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts deleted file mode 100644 index eb38e87..0000000 --- a/buildSrc/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -plugins { - // Support convention plugins written in Kotlin. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build. - `kotlin-dsl` -} - -repositories { - // Use the plugin portal to apply community plugins in convention plugins. - gradlePluginPortal() - mavenCentral() -} - -dependencies { - implementation("com.github.mwiede:jsch:0.2.17") - implementation("net.java.dev.jna:jna:5.14.0") - implementation("net.java.dev.jna:jna-platform:5.14.0") -} diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.jar b/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.jar deleted file mode 100644 index d35a4d4..0000000 Binary files a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.jar and /dev/null differ diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.jar.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.jar.md5 deleted file mode 100644 index 8e923ce..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.jar.md5 +++ /dev/null @@ -1 +0,0 @@ -4db1076b074efb3ffbfeab10a178d34b \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.jar.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.jar.sha1 deleted file mode 100644 index 7a854b0..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -6fdeddd82b7bae6fb008c6fd07f8a100bf2d5217 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.pom b/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.pom deleted file mode 100644 index 0979dd7..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.pom +++ /dev/null @@ -1,8 +0,0 @@ - - - 4.0.0 - com.playmonumenta - libraryofsouls - 4.1 - diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.pom.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.pom.md5 deleted file mode 100644 index 4289864..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.pom.md5 +++ /dev/null @@ -1 +0,0 @@ -2ae6a02bf023f5835f977d665d22497d \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.pom.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.pom.sha1 deleted file mode 100644 index a7751b2..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.1/libraryofsouls-4.1.pom.sha1 +++ /dev/null @@ -1 +0,0 @@ -50ae2c00393b2e89de836aa9dfcdacb094adabaa \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.jar b/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.jar deleted file mode 100644 index 46dbbf7..0000000 Binary files a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.jar and /dev/null differ diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.jar.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.jar.md5 deleted file mode 100644 index 8413d31..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.jar.md5 +++ /dev/null @@ -1 +0,0 @@ -55a21208e067e900103817f47b60c24b \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.jar.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.jar.sha1 deleted file mode 100644 index 03a1b02..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -481f422cc0f371b91f5af8e2696bbe2455ea6388 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.pom b/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.pom deleted file mode 100644 index c2d642c..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.pom +++ /dev/null @@ -1,8 +0,0 @@ - - - 4.0.0 - com.playmonumenta - libraryofsouls - 4.2 - diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.pom.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.pom.md5 deleted file mode 100644 index 125a456..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.pom.md5 +++ /dev/null @@ -1 +0,0 @@ -c32d500116b8983d934762be496675fe \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.pom.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.pom.sha1 deleted file mode 100644 index a5cf588..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.2/libraryofsouls-4.2.pom.sha1 +++ /dev/null @@ -1 +0,0 @@ -9d090d57c7ca78dcf5c5873c060bba8f47221cfe \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.jar b/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.jar deleted file mode 100644 index f82a298..0000000 Binary files a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.jar and /dev/null differ diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.jar.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.jar.md5 deleted file mode 100644 index bc74337..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.jar.md5 +++ /dev/null @@ -1 +0,0 @@ -31b632736ab1ba6f168cec85c5967457 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.jar.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.jar.sha1 deleted file mode 100644 index 12ff297..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -2f3e6762c5c1aac75d0d8d366492437a4421e51c \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.pom b/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.pom deleted file mode 100644 index 7463dec..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.pom +++ /dev/null @@ -1,8 +0,0 @@ - - - 4.0.0 - com.playmonumenta - libraryofsouls - 4.3 - diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.pom.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.pom.md5 deleted file mode 100644 index f638e5f..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.pom.md5 +++ /dev/null @@ -1 +0,0 @@ -6c96559ea977810eafb303b299cad33f \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.pom.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.pom.sha1 deleted file mode 100644 index 4c4b0e7..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/4.3/libraryofsouls-4.3.pom.sha1 +++ /dev/null @@ -1 +0,0 @@ -f04077da0d2202e0ee679e04b9e229f3681aecbb \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.jar b/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.jar deleted file mode 100644 index 5773c19..0000000 Binary files a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.jar and /dev/null differ diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.jar.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.jar.md5 deleted file mode 100644 index 766663c..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.jar.md5 +++ /dev/null @@ -1 +0,0 @@ -a82fb3f68ebfeb5bd7b4aaa586dc26e5 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.jar.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.jar.sha1 deleted file mode 100644 index f303b26..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -4b154a64a2864614bd44fea08c323c9f16ad3a27 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.pom b/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.pom deleted file mode 100644 index 00b36cd..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.pom +++ /dev/null @@ -1,8 +0,0 @@ - - - 4.0.0 - com.playmonumenta - libraryofsouls - 5.0 - diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.pom.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.pom.md5 deleted file mode 100644 index de4a034..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.pom.md5 +++ /dev/null @@ -1 +0,0 @@ -6d8c8ae3e547eb0710031401322eadd0 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.pom.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.pom.sha1 deleted file mode 100644 index 81e6e94..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.0/libraryofsouls-5.0.pom.sha1 +++ /dev/null @@ -1 +0,0 @@ -32b48ee0c7dab9ea91ec5fef466ba7fad1163907 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.jar b/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.jar deleted file mode 100644 index a6d522e..0000000 Binary files a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.jar and /dev/null differ diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.jar.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.jar.md5 deleted file mode 100644 index cccfa22..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.jar.md5 +++ /dev/null @@ -1 +0,0 @@ -0423d04f2cc057f8a2c8bcb75c3cc804 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.jar.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.jar.sha1 deleted file mode 100644 index 82d7c19..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -42ea1e8b4874ac9b2a016ea0e27e081b031948d8 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.pom b/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.pom deleted file mode 100644 index 0c42422..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.pom +++ /dev/null @@ -1,8 +0,0 @@ - - - 4.0.0 - com.playmonumenta - libraryofsouls - 5.3.1 - diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.pom.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.pom.md5 deleted file mode 100644 index ad946af..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.pom.md5 +++ /dev/null @@ -1 +0,0 @@ -76f1c9fcf29597d3d2e7d89dc8393fb4 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.pom.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.pom.sha1 deleted file mode 100644 index b11e6f0..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3.1/libraryofsouls-5.3.1.pom.sha1 +++ /dev/null @@ -1 +0,0 @@ -a2b3ebe6705dd78a2f026131ac2d392d6253765e \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.jar b/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.jar deleted file mode 100644 index a6d522e..0000000 Binary files a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.jar and /dev/null differ diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.jar.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.jar.md5 deleted file mode 100644 index cccfa22..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.jar.md5 +++ /dev/null @@ -1 +0,0 @@ -0423d04f2cc057f8a2c8bcb75c3cc804 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.jar.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.jar.sha1 deleted file mode 100644 index 82d7c19..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -42ea1e8b4874ac9b2a016ea0e27e081b031948d8 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.pom b/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.pom deleted file mode 100644 index fac7f6b..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.pom +++ /dev/null @@ -1,8 +0,0 @@ - - - 4.0.0 - com.playmonumenta - libraryofsouls - 5.3 - diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.pom.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.pom.md5 deleted file mode 100644 index c8df23d..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.pom.md5 +++ /dev/null @@ -1 +0,0 @@ -849049e02f7c5de9032ac97e1bdbb7be \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.pom.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.pom.sha1 deleted file mode 100644 index 6954d0b..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/5.3/libraryofsouls-5.3.pom.sha1 +++ /dev/null @@ -1 +0,0 @@ -b1c0af73e450d2af4cb35c9324778eefabadef3e \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/maven-metadata.xml b/mvn-repo/com/playmonumenta/libraryofsouls/maven-metadata.xml deleted file mode 100644 index 721067c..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/maven-metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - com.playmonumenta - libraryofsouls - - 5.3.1 - - 4.1 - 4.2 - 4.3 - 5.0 - 5.3 - 5.3.1 - - 20240509003139 - - diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/maven-metadata.xml.md5 b/mvn-repo/com/playmonumenta/libraryofsouls/maven-metadata.xml.md5 deleted file mode 100644 index 6e653f3..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/maven-metadata.xml.md5 +++ /dev/null @@ -1 +0,0 @@ -eff2a58c46a849501c7d94d8a2e02825 \ No newline at end of file diff --git a/mvn-repo/com/playmonumenta/libraryofsouls/maven-metadata.xml.sha1 b/mvn-repo/com/playmonumenta/libraryofsouls/maven-metadata.xml.sha1 deleted file mode 100644 index 2c4109b..0000000 --- a/mvn-repo/com/playmonumenta/libraryofsouls/maven-metadata.xml.sha1 +++ /dev/null @@ -1 +0,0 @@ -eec4717afcc8c0b7ac35950b5a096c6c49ff3520 \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index b8ab2bb..4de147f 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -3,6 +3,6 @@ rootProject.name = "libraryofsouls" pluginManagement { repositories { gradlePluginPortal() - maven("https://maven.floweytf.com/releases/") + maven("https://maven.playmonumenta.com/releases/") } } diff --git a/src/main/java/com/playmonumenta/libraryofsouls/SoulsDatabase.java b/src/main/java/com/playmonumenta/libraryofsouls/SoulsDatabase.java index 47b7a34..645b6d5 100644 --- a/src/main/java/com/playmonumenta/libraryofsouls/SoulsDatabase.java +++ b/src/main/java/com/playmonumenta/libraryofsouls/SoulsDatabase.java @@ -34,8 +34,6 @@ import org.bukkit.scheduler.BukkitRunnable; import org.jetbrains.annotations.Nullable; - - public class SoulsDatabase { private static final String SOULS_DATABASE_FILE = "souls_database.json"; private static final String SOUL_PARTIES_DATABASE_FILE = "soul_parties_database.json";