From 9cf9ae5aa38d654c6634ccc0ca906cd430952fa8 Mon Sep 17 00:00:00 2001 From: William Date: Tue, 20 Sep 2022 12:39:28 +0100 Subject: [PATCH] Port to MineDown-adventure, run on the adventure platform --- .idea/gradle.xml | 1 + .idea/workspace.xml | 42 ++++++++++++------- build.gradle | 8 ++-- .../net/william278/desertwell/AboutMenu.java | 4 +- 4 files changed, 35 insertions(+), 20 deletions(-) diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 7b7dd5a..59c272e 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ + - + + + + + + - { + "keyToString": { + "RunOnceActivity.OpenProjectViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "SHARE_PROJECT_CONFIGURATION_FILES": "true", + "WebServerToolWindowFactoryState": "false", + "last_opened_file_path": "C:/Users/William/IdeaProjects/DesertWell/src/main/java/net/william278/desertwell", + "nodejs_package_manager_path": "npm" } -}]]> +} @@ -62,7 +67,7 @@ - + @@ -181,6 +194,7 @@ - \ No newline at end of file diff --git a/build.gradle b/build.gradle index 25fb95e..f165196 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'net.william278' -version '1.0' +version '1.1' repositories { mavenCentral() @@ -12,11 +12,11 @@ repositories { } dependencies { - compileOnly 'de.themoep:minedown:1.7.1-SNAPSHOT' + compileOnly 'de.themoep:minedown-adventure:1.7.1-SNAPSHOT' compileOnly 'org.jetbrains:annotations:23.0.0' - testImplementation 'de.themoep:minedown:1.7.1-SNAPSHOT' - testImplementation 'net.md-5:bungeecord-chat:1.16-R0.4' + testImplementation 'de.themoep:minedown-adventure:1.7.1-SNAPSHOT' + testImplementation 'net.kyori:adventure-platform-bukkit:4.1.2' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0' } diff --git a/src/main/java/net/william278/desertwell/AboutMenu.java b/src/main/java/net/william278/desertwell/AboutMenu.java index 7bd0e48..adc5ddd 100644 --- a/src/main/java/net/william278/desertwell/AboutMenu.java +++ b/src/main/java/net/william278/desertwell/AboutMenu.java @@ -1,7 +1,7 @@ package net.william278.desertwell; -import de.themoep.minedown.MineDown; -import de.themoep.minedown.Util; +import de.themoep.minedown.adventure.MineDown; +import de.themoep.minedown.adventure.Util; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable;