diff --git a/README.md b/README.md index 6a7ee7e..166f3ca 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,9 @@ PagineDown is a library for generating paginated [MineDown](https://github.com/P ![](images/list-example-in-game.png) -Requires Java 11+. PagineDown is a library that is intended to be used with MineDown (not standalone) -- your project will need to shade MineDown to use it. +Requires Java 11+. PagineDown is a library that is intended to be used with MineDown-adventure (not standalone) -- your project will need to shade MineDown-adventure to use it. + +PagineDown (v1.1+) runs on the [adventure](https://docs.adventure.kyori.net/) platform, or on platforms with adventure adapters. ## Installation PagineDown is available on JitPack. You can browse the Javadocs [here](https://javadoc.jitpack.io/net/william278/PagineDown/latest/javadoc/). diff --git a/build.gradle b/build.gradle index 0f57e4f..f165196 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'net.william278' -version '1.0.2' +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/paginedown/PaginatedList.java b/src/main/java/net/william278/paginedown/PaginatedList.java index 8cb637d..1c946ad 100644 --- a/src/main/java/net/william278/paginedown/PaginatedList.java +++ b/src/main/java/net/william278/paginedown/PaginatedList.java @@ -1,7 +1,7 @@ package net.william278.paginedown; -import de.themoep.minedown.MineDown; +import de.themoep.minedown.adventure.MineDown; import org.jetbrains.annotations.NotNull; import java.util.List;