diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ca5a4d9..87fed43 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,13 +19,19 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: temurin
- java-version: '11'
+ java-version: '25'
+
+ - name: Checkout MobArena
+ run: git clone --depth 1 https://git.tss3.us/skywalker3200/MobArena.git ../MobArena
+
+ - name: Publish MobArena to local Maven repo
+ run: cd ../MobArena && ./gradlew publishToMavenLocal --no-daemon
- name: Build, test, package
run: ./mvnw -B package --file pom.xml
- name: Upload artifact
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: MobArenaStats.jar
path: target/MobArenaStats.jar
diff --git a/pom.xml b/pom.xml
index 998b05e..9d2ed0f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,19 +34,19 @@
2.2.1
-
+
- org.spigotmc
- spigot-api
- 1.17-R0.1-SNAPSHOT
+ io.papermc.paper
+ paper-api
+ 26.2.build.84-stable
provided
-
+
- com.github.garbagemule
+ com.garbagemule
MobArena
- b99713f1
+ 0.109.1-tss3
provided
@@ -133,13 +133,8 @@
- spigot-repo
- https://hub.spigotmc.org/nexus/content/repositories/snapshots/
-
-
-
- jitpack.io
- https://jitpack.io
+ papermc
+ https://repo.papermc.io/repository/maven-public/
@@ -157,8 +152,7 @@
maven-compiler-plugin
3.8.1
- 11
- 11
+ 25
@@ -171,7 +165,7 @@
org.apache.maven.plugins
maven-shade-plugin
- 3.2.4
+ 3.6.2
package