From e095486dbe21223502f12e4cdf226f8cf123f795 Mon Sep 17 00:00:00 2001 From: EpicJosch <50040609+EpicJosch@users.noreply.github.com> Date: Tue, 23 Apr 2024 23:18:31 +0200 Subject: [PATCH 1/2] Delete build.gradle.kts --- build.gradle.kts | 83 ------------------------------------------------ 1 file changed, 83 deletions(-) delete mode 100644 build.gradle.kts diff --git a/build.gradle.kts b/build.gradle.kts deleted file mode 100644 index 871c0e60..00000000 --- a/build.gradle.kts +++ /dev/null @@ -1,83 +0,0 @@ -plugins { - id("signing") - `maven-publish` - id("com.github.johnrengelman.shadow") version "8.1.1" - java -} - -repositories { - mavenLocal() - maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") - maven("https://oss.sonatype.org/content/repositories/snapshots") - maven("https://oss.sonatype.org/content/repositories/central") - maven(uri("https://papermc.io/repo/repository/maven-public/")) - maven(uri("https://maven.plugily.xyz/releases")) - maven(uri("https://maven.plugily.xyz/snapshots")) - maven(uri("https://repo.maven.apache.org/maven2/")) -} - -dependencies { - implementation("plugily.projects:MiniGamesBox-Classic:1.3.7") { isTransitive = false } - compileOnly("org.spigotmc:spigot-api:1.19.3-R0.1-SNAPSHOT") - compileOnly("io.papermc.paper:paper-api:1.19.3-R0.1-SNAPSHOT") - compileOnly("org.jetbrains:annotations:24.0.1") - compileOnly(files("lib/CorpseReborn.jar")) -} - -group = "plugily.projects" -version = "2.0.7" -description = "MurderMystery" - -java { - withJavadocJar() -} - -tasks { - build { - dependsOn(shadowJar) - } - - shadowJar { - archiveClassifier.set("") - relocate("plugily.projects.minigamesbox", "plugily.projects.murdermystery.minigamesbox") - relocate("com.zaxxer.hikari", "plugily.projects.murdermystery.database.hikari") - minimize() - } - - processResources { - filesMatching("**/plugin.yml") { - expand(project.properties) - } - } - - javadoc { - options.encoding = "UTF-8" - } - -} - -publishing { - repositories { - maven { - name = "Releases" - url = uri("https://maven.plugily.xyz/releases") - credentials { - username = System.getenv("MAVEN_USERNAME") - password = System.getenv("MAVEN_PASSWORD") - } - } - maven { - name = "Snapshots" - url = uri("https://maven.plugily.xyz/snapshots") - credentials { - username = System.getenv("MAVEN_USERNAME") - password = System.getenv("MAVEN_PASSWORD") - } - } - } - publications { - create("mavenJava") { - from(components["java"]) - } - } -} From 59fd93b7866ca17da62e03cbbc95b0c38e73f8ff Mon Sep 17 00:00:00 2001 From: EpicJosch <50040609+EpicJosch@users.noreply.github.com> Date: Tue, 23 Apr 2024 23:19:05 +0200 Subject: [PATCH 2/2] Delete src/main/resources/plugin.yml --- src/main/resources/plugin.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/main/resources/plugin.yml diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml deleted file mode 100644 index fde6228b..00000000 --- a/src/main/resources/plugin.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: MurderMystery -main: plugily.projects.murdermystery.Main -authors: [ PlugilyProjects, Tigerpanzer_02 ] -version: ${project.version} -softdepend: [CorpseReborn, PlaceholderAPI, Parties, Spigot-Party-API-PAF, PartyAndFriends, ViaVersion, ProtocolSupport] -api-version: 1.13 - -commands: - MurderMystery: - description: MurderMystery Commands - usage: "Correct usage: /murdermystery [option]" - aliases: [mm, murder] - MurderMysteryAdmin: - description: MurderMysteryAdmin commands - usage: "Correct usage: /murdermysterya [option]" - aliases: [mma, murderadmin] - -permissions: - murdermystery.admin.*: - default: op - children: - murdermystery.updatenotify: true - murdermystery.admin: true - murdermystery.admin.setup: true - murdermystery.admin.delete: true - murdermystery.admin.list: true - murdermystery.admin.spychat: true - murdermystery.admin.stopgame: true - murdermystery.admin.forcestart: true - murdermystery.admin.addsign: true - murdermystery.admin.clear: true - murdermystery.admin.sign.create: true - murdermystery.admin.sign.break: true - murdermystery.admin.reload: true - murdermystery.command.override: true \ No newline at end of file