Skip to content

Commit 17bd1c5

Browse files
committed
Build against SportPaper-Paper intersect jar
1 parent e7110da commit 17bd1c5

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

pom.xml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
</repositories>
4141

4242
<dependencies>
43-
<!-- SportPaper 1.8 -->
43+
<!-- Intersected 1.8-1.21.5 jar -->
4444
<dependency>
45-
<groupId>app.ashcon</groupId>
46-
<artifactId>sportpaper</artifactId>
47-
<version>1.8.8-R0.1-SNAPSHOT</version>
45+
<groupId>dev.pgm.paper</groupId>
46+
<artifactId>paper-api</artifactId>
47+
<version>1.8_1.21.5-SNAPSHOT</version>
4848
<scope>provided</scope>
4949
</dependency>
5050

@@ -71,6 +71,21 @@
7171
<scope>compile</scope>
7272
</dependency>
7373

74+
<!-- Annotations -->
75+
<dependency>
76+
<groupId>org.jetbrains</groupId>
77+
<artifactId>annotations</artifactId>
78+
<version>26.0.2</version>
79+
<scope>provided</scope>
80+
</dependency>
81+
82+
<!-- BungeeCord api, same as in Paper 1.21 -->
83+
<dependency>
84+
<groupId>net.md-5</groupId>
85+
<artifactId>bungeecord-api</artifactId>
86+
<version>1.21-R0.2</version>
87+
<scope>provided</scope>
88+
</dependency>
7489
</dependencies>
7590

7691
<build>

src/main/java/tc/oc/occ/database/ConnectionPool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
import java.sql.DatabaseMetaData;
77
import java.sql.SQLException;
88
import java.util.concurrent.CompletableFuture;
9-
import javax.annotation.Nullable;
109
import org.bukkit.ChatColor;
1110
import org.bukkit.command.CommandSender;
11+
import org.jetbrains.annotations.Nullable;
1212

1313
public class ConnectionPool {
1414

0 commit comments

Comments
 (0)