2021-06-11 14:02:28 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2021-07-20 04:07:53 +02:00
|
|
|
From: Kyle Wood <kyle@denwav.dev>
|
2021-06-11 14:02:28 +02:00
|
|
|
Date: Thu, 10 Dec 2020 20:50:33 -0800
|
|
|
|
Subject: [PATCH] Convert project to Gradle
|
|
|
|
|
2021-06-17 19:11:00 +02:00
|
|
|
The pom.xml file is deleted in this patch so the patch will fail to
|
|
|
|
apply if there are changes made to it from upstream - thus notifying us
|
|
|
|
that changes were made.
|
2021-06-11 14:02:28 +02:00
|
|
|
|
|
|
|
diff --git a/.gitignore b/.gitignore
|
2023-11-25 23:34:42 +01:00
|
|
|
index 5dd700a956e915c00b25d91dea8d6f285ddab72b..97e78e27ee0eea2c8b24886eeb19164d552323fe 100644
|
2021-06-11 14:02:28 +02:00
|
|
|
--- a/.gitignore
|
|
|
|
+++ b/.gitignore
|
|
|
|
@@ -1,3 +1,5 @@
|
|
|
|
+.gradle/
|
|
|
|
+
|
|
|
|
# Eclipse stuff
|
|
|
|
/.classpath
|
|
|
|
/.project
|
2023-11-25 23:34:42 +01:00
|
|
|
@@ -32,3 +34,7 @@
|
2021-08-07 02:27:45 +02:00
|
|
|
*.ipr
|
|
|
|
*.iws
|
|
|
|
.idea/
|
|
|
|
+
|
|
|
|
+# vs code
|
|
|
|
+/.vscode
|
|
|
|
+/.factorypath
|
2021-06-11 14:02:28 +02:00
|
|
|
diff --git a/build.gradle.kts b/build.gradle.kts
|
|
|
|
new file mode 100644
|
Updated Upstream (Bukkit/CraftBukkit) (#10034)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
Bukkit Changes:
f29cb801 Separate checkstyle-suppressions file is not required
86f99bbe SPIGOT-7540, PR-946: Add ServerTickManager API
d4119585 SPIGOT-6903, PR-945: Add BlockData#getMapColor
b7a2ed41 SPIGOT-7530, PR-947: Add Player#removeResourcePack
9dd56255 SPIGOT-7527, PR-944: Add WindCharge#explode()
994a6163 Attempt upgrade of resolver libraries
CraftBukkit Changes:
b3b43a6ad Add Checkstyle check for unused imports
13fb3358e SPIGOT-7544: Scoreboard#getEntries() doesn't get entries but class names
3dda99c06 SPIGOT-7540, PR-1312: Add ServerTickManager API
2ab4508c0 SPIGOT-6903, PR-1311: Add BlockData#getMapColor
1dbdbbed4 PR-1238: Remove unnecessary sign ticking
659728d2a MC-264285, SPIGOT-7439, PR-1237: Fix unbreakable flint and steel is completely consumed while igniting creeper
e37e29ce0 Increase outdated build delay
c00438b39 SPIGOT-7530, PR-1313: Add Player#removeResourcePack
492dd80ce SPIGOT-7527, PR-1310: Add WindCharge#explode()
e11fbb9d7 Upgrade MySQL driver
9f3a0bd2a Attempt upgrade of resolver libraries
60d16d7ca PR-1306: Centralize Bukkit and Minecraft entity conversion
Spigot Changes:
06d602e7 Rebuild patches
2023-12-17 03:09:28 +01:00
|
|
|
index 0000000000000000000000000000000000000000..fd076ab0df328818873028d333b0716d5b3796a9
|
2021-06-11 14:02:28 +02:00
|
|
|
--- /dev/null
|
|
|
|
+++ b/build.gradle.kts
|
2023-09-25 01:05:05 +02:00
|
|
|
@@ -0,0 +1,91 @@
|
2021-06-11 14:02:28 +02:00
|
|
|
+plugins {
|
|
|
|
+ `java-library`
|
2021-06-15 03:50:13 +02:00
|
|
|
+ `maven-publish`
|
2021-06-11 14:02:28 +02:00
|
|
|
+}
|
|
|
|
+
|
|
|
|
+java {
|
|
|
|
+ withSourcesJar()
|
|
|
|
+ withJavadocJar()
|
|
|
|
+}
|
|
|
|
+
|
2023-06-07 18:24:39 +02:00
|
|
|
+val annotationsVersion = "24.0.1"
|
2023-08-14 01:32:51 +02:00
|
|
|
+val bungeeCordChatVersion = "1.20-R0.1"
|
2023-06-07 18:24:39 +02:00
|
|
|
+
|
2021-06-11 14:02:28 +02:00
|
|
|
+dependencies {
|
|
|
|
+ // api dependencies are listed transitively to API consumers
|
2023-09-21 19:18:04 +02:00
|
|
|
+ api("com.google.guava:guava:32.1.2-jre")
|
|
|
|
+ api("com.google.code.gson:gson:2.10.1")
|
2023-08-14 01:32:51 +02:00
|
|
|
+ api("net.md-5:bungeecord-chat:$bungeeCordChatVersion")
|
2023-09-21 19:18:04 +02:00
|
|
|
+ api("org.yaml:snakeyaml:2.2")
|
2023-03-14 18:11:24 +01:00
|
|
|
+ api("org.joml:joml:1.10.5")
|
2021-06-11 14:02:28 +02:00
|
|
|
+
|
Updated Upstream (Bukkit/CraftBukkit) (#10034)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
Bukkit Changes:
f29cb801 Separate checkstyle-suppressions file is not required
86f99bbe SPIGOT-7540, PR-946: Add ServerTickManager API
d4119585 SPIGOT-6903, PR-945: Add BlockData#getMapColor
b7a2ed41 SPIGOT-7530, PR-947: Add Player#removeResourcePack
9dd56255 SPIGOT-7527, PR-944: Add WindCharge#explode()
994a6163 Attempt upgrade of resolver libraries
CraftBukkit Changes:
b3b43a6ad Add Checkstyle check for unused imports
13fb3358e SPIGOT-7544: Scoreboard#getEntries() doesn't get entries but class names
3dda99c06 SPIGOT-7540, PR-1312: Add ServerTickManager API
2ab4508c0 SPIGOT-6903, PR-1311: Add BlockData#getMapColor
1dbdbbed4 PR-1238: Remove unnecessary sign ticking
659728d2a MC-264285, SPIGOT-7439, PR-1237: Fix unbreakable flint and steel is completely consumed while igniting creeper
e37e29ce0 Increase outdated build delay
c00438b39 SPIGOT-7530, PR-1313: Add Player#removeResourcePack
492dd80ce SPIGOT-7527, PR-1310: Add WindCharge#explode()
e11fbb9d7 Upgrade MySQL driver
9f3a0bd2a Attempt upgrade of resolver libraries
60d16d7ca PR-1306: Centralize Bukkit and Minecraft entity conversion
Spigot Changes:
06d602e7 Rebuild patches
2023-12-17 03:09:28 +01:00
|
|
|
+ compileOnly("org.apache.maven:maven-resolver-provider:3.9.6")
|
|
|
|
+ compileOnly("org.apache.maven.resolver:maven-resolver-connector-basic:1.9.18")
|
|
|
|
+ compileOnly("org.apache.maven.resolver:maven-resolver-transport-http:1.9.18")
|
2021-06-11 14:02:28 +02:00
|
|
|
+
|
2023-06-07 18:24:39 +02:00
|
|
|
+ val annotations = "org.jetbrains:annotations-java5:$annotationsVersion"
|
2021-06-11 14:02:28 +02:00
|
|
|
+ compileOnly(annotations)
|
|
|
|
+ testCompileOnly(annotations)
|
|
|
|
+
|
2022-06-08 17:31:27 +02:00
|
|
|
+ testImplementation("org.apache.commons:commons-lang3:3.12.0")
|
2023-09-24 09:16:58 +02:00
|
|
|
+ testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
|
|
|
|
+ testImplementation("org.hamcrest:hamcrest:2.2")
|
2023-09-21 18:48:55 +02:00
|
|
|
+ testImplementation("org.mockito:mockito-core:5.5.0")
|
2023-06-08 15:25:35 +02:00
|
|
|
+ testImplementation("org.ow2.asm:asm-tree:9.5")
|
2021-06-11 14:02:28 +02:00
|
|
|
+}
|
|
|
|
+
|
2021-06-15 03:50:13 +02:00
|
|
|
+configure<PublishingExtension> {
|
|
|
|
+ publications.create<MavenPublication>("maven") {
|
|
|
|
+ from(components["java"])
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
2021-06-13 03:28:41 +02:00
|
|
|
+val generateApiVersioningFile by tasks.registering {
|
2021-10-27 04:45:45 +02:00
|
|
|
+ inputs.property("version", project.version)
|
2021-06-13 03:28:41 +02:00
|
|
|
+ val pomProps = layout.buildDirectory.file("pom.properties")
|
|
|
|
+ outputs.file(pomProps)
|
2021-11-28 04:06:16 +01:00
|
|
|
+ val projectVersion = project.version
|
2021-06-13 03:28:41 +02:00
|
|
|
+ doLast {
|
2021-11-28 04:06:16 +01:00
|
|
|
+ pomProps.get().asFile.writeText("version=$projectVersion")
|
2021-06-13 03:28:41 +02:00
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
2021-06-11 14:02:28 +02:00
|
|
|
+tasks.jar {
|
2021-06-13 03:28:41 +02:00
|
|
|
+ from(generateApiVersioningFile.map { it.outputs.files.singleFile }) {
|
2021-11-26 07:08:46 +01:00
|
|
|
+ into("META-INF/maven/${project.group}/${project.name}")
|
2021-06-13 03:28:41 +02:00
|
|
|
+ }
|
2021-06-11 14:02:28 +02:00
|
|
|
+ manifest {
|
2021-10-27 04:45:45 +02:00
|
|
|
+ attributes(
|
2021-06-11 14:02:28 +02:00
|
|
|
+ "Automatic-Module-Name" to "org.bukkit"
|
|
|
|
+ )
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
2021-10-27 04:45:45 +02:00
|
|
|
+tasks.withType<Javadoc> {
|
2022-03-01 05:38:49 +01:00
|
|
|
+ val options = options as StandardJavadocDocletOptions
|
|
|
|
+ options.overview = "src/main/javadoc/overview.html"
|
2022-07-20 18:16:13 +02:00
|
|
|
+ options.use()
|
2022-03-01 05:38:49 +01:00
|
|
|
+ options.isDocFilesSubDirs = true
|
|
|
|
+ options.links(
|
2023-09-21 19:18:04 +02:00
|
|
|
+ "https://guava.dev/releases/32.1.2-jre/api/docs/",
|
|
|
|
+ "https://javadoc.io/doc/org.yaml/snakeyaml/2.2/",
|
2023-06-07 18:24:39 +02:00
|
|
|
+ "https://javadoc.io/doc/org.jetbrains/annotations-java5/$annotationsVersion/",
|
2023-08-14 01:32:51 +02:00
|
|
|
+ "https://javadoc.io/doc/net.md-5/bungeecord-chat/$bungeeCordChatVersion/",
|
2021-06-11 14:02:28 +02:00
|
|
|
+ )
|
2023-04-09 02:00:50 +02:00
|
|
|
+ options.tags("apiNote:a:API Note:")
|
2022-03-01 05:38:49 +01:00
|
|
|
+
|
|
|
|
+ // workaround for https://github.com/gradle/gradle/issues/4046
|
|
|
|
+ inputs.dir("src/main/javadoc").withPropertyName("javadoc-sourceset")
|
|
|
|
+ doLast {
|
|
|
|
+ copy {
|
|
|
|
+ from("src/main/javadoc") {
|
|
|
|
+ include("**/doc-files/**")
|
|
|
|
+ }
|
|
|
|
+ into("build/docs/javadoc")
|
|
|
|
+ }
|
|
|
|
+ }
|
2021-06-11 14:02:28 +02:00
|
|
|
+}
|
2023-09-25 01:05:05 +02:00
|
|
|
+
|
|
|
|
+tasks.test {
|
|
|
|
+ useJUnitPlatform()
|
|
|
|
+}
|
2021-06-17 19:11:00 +02:00
|
|
|
diff --git a/pom.xml b/pom.xml
|
|
|
|
deleted file mode 100644
|
Updated Upstream (Bukkit/CraftBukkit) (#10034)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
Bukkit Changes:
f29cb801 Separate checkstyle-suppressions file is not required
86f99bbe SPIGOT-7540, PR-946: Add ServerTickManager API
d4119585 SPIGOT-6903, PR-945: Add BlockData#getMapColor
b7a2ed41 SPIGOT-7530, PR-947: Add Player#removeResourcePack
9dd56255 SPIGOT-7527, PR-944: Add WindCharge#explode()
994a6163 Attempt upgrade of resolver libraries
CraftBukkit Changes:
b3b43a6ad Add Checkstyle check for unused imports
13fb3358e SPIGOT-7544: Scoreboard#getEntries() doesn't get entries but class names
3dda99c06 SPIGOT-7540, PR-1312: Add ServerTickManager API
2ab4508c0 SPIGOT-6903, PR-1311: Add BlockData#getMapColor
1dbdbbed4 PR-1238: Remove unnecessary sign ticking
659728d2a MC-264285, SPIGOT-7439, PR-1237: Fix unbreakable flint and steel is completely consumed while igniting creeper
e37e29ce0 Increase outdated build delay
c00438b39 SPIGOT-7530, PR-1313: Add Player#removeResourcePack
492dd80ce SPIGOT-7527, PR-1310: Add WindCharge#explode()
e11fbb9d7 Upgrade MySQL driver
9f3a0bd2a Attempt upgrade of resolver libraries
60d16d7ca PR-1306: Centralize Bukkit and Minecraft entity conversion
Spigot Changes:
06d602e7 Rebuild patches
2023-12-17 03:09:28 +01:00
|
|
|
index 900855ebbf1332010d4351e0775670d1b0ff091f..0000000000000000000000000000000000000000
|
2021-06-17 19:11:00 +02:00
|
|
|
--- a/pom.xml
|
|
|
|
+++ /dev/null
|
Updated Upstream (Bukkit/CraftBukkit) (#10034)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
Bukkit Changes:
f29cb801 Separate checkstyle-suppressions file is not required
86f99bbe SPIGOT-7540, PR-946: Add ServerTickManager API
d4119585 SPIGOT-6903, PR-945: Add BlockData#getMapColor
b7a2ed41 SPIGOT-7530, PR-947: Add Player#removeResourcePack
9dd56255 SPIGOT-7527, PR-944: Add WindCharge#explode()
994a6163 Attempt upgrade of resolver libraries
CraftBukkit Changes:
b3b43a6ad Add Checkstyle check for unused imports
13fb3358e SPIGOT-7544: Scoreboard#getEntries() doesn't get entries but class names
3dda99c06 SPIGOT-7540, PR-1312: Add ServerTickManager API
2ab4508c0 SPIGOT-6903, PR-1311: Add BlockData#getMapColor
1dbdbbed4 PR-1238: Remove unnecessary sign ticking
659728d2a MC-264285, SPIGOT-7439, PR-1237: Fix unbreakable flint and steel is completely consumed while igniting creeper
e37e29ce0 Increase outdated build delay
c00438b39 SPIGOT-7530, PR-1313: Add Player#removeResourcePack
492dd80ce SPIGOT-7527, PR-1310: Add WindCharge#explode()
e11fbb9d7 Upgrade MySQL driver
9f3a0bd2a Attempt upgrade of resolver libraries
60d16d7ca PR-1306: Centralize Bukkit and Minecraft entity conversion
Spigot Changes:
06d602e7 Rebuild patches
2023-12-17 03:09:28 +01:00
|
|
|
@@ -1,277 +0,0 @@
|
2021-06-17 19:11:00 +02:00
|
|
|
-
|
|
|
|
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
|
-
|
|
|
|
- <groupId>org.spigotmc</groupId>
|
|
|
|
- <artifactId>spigot-api</artifactId>
|
2023-12-07 21:14:35 +01:00
|
|
|
- <version>1.20.4-R0.1-SNAPSHOT</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <packaging>jar</packaging>
|
|
|
|
-
|
|
|
|
- <name>Spigot-API</name>
|
|
|
|
- <url>https://www.spigotmc.org/</url>
|
|
|
|
- <description>An enhanced plugin API for Minecraft servers.</description>
|
|
|
|
-
|
|
|
|
- <properties>
|
|
|
|
- <skipTests>true</skipTests>
|
|
|
|
- <maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
- <maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
- </properties>
|
|
|
|
-
|
|
|
|
- <distributionManagement>
|
|
|
|
- <repository>
|
|
|
|
- <id>spigotmc-releases</id>
|
|
|
|
- <url>https://hub.spigotmc.org/nexus/content/repositories/releases/</url>
|
|
|
|
- </repository>
|
|
|
|
- <snapshotRepository>
|
|
|
|
- <id>spigotmc-snapshots</id>
|
|
|
|
- <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
|
|
|
- </snapshotRepository>
|
|
|
|
- </distributionManagement>
|
|
|
|
-
|
|
|
|
- <dependencies>
|
|
|
|
- <!-- bundled with Minecraft, should be kept in sync -->
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>com.google.guava</groupId>
|
|
|
|
- <artifactId>guava</artifactId>
|
2023-09-21 19:18:04 +02:00
|
|
|
- <version>32.1.2-jre</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>compile</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <!-- bundled with Minecraft, should be kept in sync -->
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>com.google.code.gson</groupId>
|
|
|
|
- <artifactId>gson</artifactId>
|
2023-09-21 19:18:04 +02:00
|
|
|
- <version>2.10.1</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>compile</scope>
|
|
|
|
- </dependency>
|
2023-03-14 18:11:24 +01:00
|
|
|
- <!-- bundled with Minecraft, should be kept in sync -->
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.joml</groupId>
|
|
|
|
- <artifactId>joml</artifactId>
|
|
|
|
- <version>1.10.5</version>
|
|
|
|
- <scope>compile</scope>
|
|
|
|
- </dependency>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <dependency>
|
|
|
|
- <groupId>net.md-5</groupId>
|
|
|
|
- <artifactId>bungeecord-chat</artifactId>
|
2023-08-14 01:32:51 +02:00
|
|
|
- <version>1.20-R0.1</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <type>jar</type>
|
|
|
|
- <scope>compile</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.yaml</groupId>
|
|
|
|
- <artifactId>snakeyaml</artifactId>
|
2023-09-21 19:18:04 +02:00
|
|
|
- <version>2.2</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>compile</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <!-- not part of the API proper -->
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.apache.maven</groupId>
|
|
|
|
- <artifactId>maven-resolver-provider</artifactId>
|
Updated Upstream (Bukkit/CraftBukkit) (#10034)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
Bukkit Changes:
f29cb801 Separate checkstyle-suppressions file is not required
86f99bbe SPIGOT-7540, PR-946: Add ServerTickManager API
d4119585 SPIGOT-6903, PR-945: Add BlockData#getMapColor
b7a2ed41 SPIGOT-7530, PR-947: Add Player#removeResourcePack
9dd56255 SPIGOT-7527, PR-944: Add WindCharge#explode()
994a6163 Attempt upgrade of resolver libraries
CraftBukkit Changes:
b3b43a6ad Add Checkstyle check for unused imports
13fb3358e SPIGOT-7544: Scoreboard#getEntries() doesn't get entries but class names
3dda99c06 SPIGOT-7540, PR-1312: Add ServerTickManager API
2ab4508c0 SPIGOT-6903, PR-1311: Add BlockData#getMapColor
1dbdbbed4 PR-1238: Remove unnecessary sign ticking
659728d2a MC-264285, SPIGOT-7439, PR-1237: Fix unbreakable flint and steel is completely consumed while igniting creeper
e37e29ce0 Increase outdated build delay
c00438b39 SPIGOT-7530, PR-1313: Add Player#removeResourcePack
492dd80ce SPIGOT-7527, PR-1310: Add WindCharge#explode()
e11fbb9d7 Upgrade MySQL driver
9f3a0bd2a Attempt upgrade of resolver libraries
60d16d7ca PR-1306: Centralize Bukkit and Minecraft entity conversion
Spigot Changes:
06d602e7 Rebuild patches
2023-12-17 03:09:28 +01:00
|
|
|
- <version>3.9.6</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>provided</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.apache.maven.resolver</groupId>
|
|
|
|
- <artifactId>maven-resolver-connector-basic</artifactId>
|
Updated Upstream (Bukkit/CraftBukkit) (#10034)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
Bukkit Changes:
f29cb801 Separate checkstyle-suppressions file is not required
86f99bbe SPIGOT-7540, PR-946: Add ServerTickManager API
d4119585 SPIGOT-6903, PR-945: Add BlockData#getMapColor
b7a2ed41 SPIGOT-7530, PR-947: Add Player#removeResourcePack
9dd56255 SPIGOT-7527, PR-944: Add WindCharge#explode()
994a6163 Attempt upgrade of resolver libraries
CraftBukkit Changes:
b3b43a6ad Add Checkstyle check for unused imports
13fb3358e SPIGOT-7544: Scoreboard#getEntries() doesn't get entries but class names
3dda99c06 SPIGOT-7540, PR-1312: Add ServerTickManager API
2ab4508c0 SPIGOT-6903, PR-1311: Add BlockData#getMapColor
1dbdbbed4 PR-1238: Remove unnecessary sign ticking
659728d2a MC-264285, SPIGOT-7439, PR-1237: Fix unbreakable flint and steel is completely consumed while igniting creeper
e37e29ce0 Increase outdated build delay
c00438b39 SPIGOT-7530, PR-1313: Add Player#removeResourcePack
492dd80ce SPIGOT-7527, PR-1310: Add WindCharge#explode()
e11fbb9d7 Upgrade MySQL driver
9f3a0bd2a Attempt upgrade of resolver libraries
60d16d7ca PR-1306: Centralize Bukkit and Minecraft entity conversion
Spigot Changes:
06d602e7 Rebuild patches
2023-12-17 03:09:28 +01:00
|
|
|
- <version>1.9.18</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>provided</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.apache.maven.resolver</groupId>
|
|
|
|
- <artifactId>maven-resolver-transport-http</artifactId>
|
Updated Upstream (Bukkit/CraftBukkit) (#10034)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
Bukkit Changes:
f29cb801 Separate checkstyle-suppressions file is not required
86f99bbe SPIGOT-7540, PR-946: Add ServerTickManager API
d4119585 SPIGOT-6903, PR-945: Add BlockData#getMapColor
b7a2ed41 SPIGOT-7530, PR-947: Add Player#removeResourcePack
9dd56255 SPIGOT-7527, PR-944: Add WindCharge#explode()
994a6163 Attempt upgrade of resolver libraries
CraftBukkit Changes:
b3b43a6ad Add Checkstyle check for unused imports
13fb3358e SPIGOT-7544: Scoreboard#getEntries() doesn't get entries but class names
3dda99c06 SPIGOT-7540, PR-1312: Add ServerTickManager API
2ab4508c0 SPIGOT-6903, PR-1311: Add BlockData#getMapColor
1dbdbbed4 PR-1238: Remove unnecessary sign ticking
659728d2a MC-264285, SPIGOT-7439, PR-1237: Fix unbreakable flint and steel is completely consumed while igniting creeper
e37e29ce0 Increase outdated build delay
c00438b39 SPIGOT-7530, PR-1313: Add Player#removeResourcePack
492dd80ce SPIGOT-7527, PR-1310: Add WindCharge#explode()
e11fbb9d7 Upgrade MySQL driver
9f3a0bd2a Attempt upgrade of resolver libraries
60d16d7ca PR-1306: Centralize Bukkit and Minecraft entity conversion
Spigot Changes:
06d602e7 Rebuild patches
2023-12-17 03:09:28 +01:00
|
|
|
- <version>1.9.18</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>provided</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <!-- annotations -->
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.jetbrains</groupId>
|
|
|
|
- <artifactId>annotations-java5</artifactId>
|
2023-06-07 18:24:39 +02:00
|
|
|
- <version>24.0.1</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>provided</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <!-- testing -->
|
|
|
|
- <dependency>
|
2023-09-24 09:16:58 +02:00
|
|
|
- <groupId>org.junit.jupiter</groupId>
|
|
|
|
- <artifactId>junit-jupiter</artifactId>
|
|
|
|
- <version>5.10.0</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>test</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.hamcrest</groupId>
|
2023-09-24 09:16:58 +02:00
|
|
|
- <artifactId>hamcrest</artifactId>
|
|
|
|
- <version>2.2</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>test</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <dependency>
|
2023-09-21 18:48:55 +02:00
|
|
|
- <groupId>org.mockito</groupId>
|
|
|
|
- <artifactId>mockito-core</artifactId>
|
|
|
|
- <version>5.5.0</version>
|
|
|
|
- <scope>test</scope>
|
|
|
|
- </dependency>
|
|
|
|
- <dependency>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <groupId>org.ow2.asm</groupId>
|
|
|
|
- <artifactId>asm-tree</artifactId>
|
2023-06-07 18:24:39 +02:00
|
|
|
- <version>9.5</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <scope>test</scope>
|
|
|
|
- </dependency>
|
|
|
|
- </dependencies>
|
|
|
|
-
|
|
|
|
- <build>
|
|
|
|
- <plugins>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>net.md-5</groupId>
|
|
|
|
- <artifactId>scriptus</artifactId>
|
2023-08-06 02:21:59 +02:00
|
|
|
- <version>0.5.0</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <executions>
|
|
|
|
- <execution>
|
|
|
|
- <phase>initialize</phase>
|
|
|
|
- <goals>
|
|
|
|
- <goal>describe</goal>
|
|
|
|
- </goals>
|
|
|
|
- </execution>
|
|
|
|
- </executions>
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
2023-04-07 20:39:13 +02:00
|
|
|
- <version>3.11.0</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <configuration>
|
|
|
|
- <!-- we use the Eclipse compiler as it doesn't need a JDK -->
|
|
|
|
- <compilerId>eclipse</compilerId>
|
2023-04-07 20:39:13 +02:00
|
|
|
- <!-- default changed with version 3.11.0 -->
|
|
|
|
- <showWarnings>false</showWarnings>
|
2021-06-17 19:11:00 +02:00
|
|
|
- </configuration>
|
|
|
|
- <dependencies>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>org.codehaus.plexus</groupId>
|
|
|
|
- <artifactId>plexus-compiler-eclipse</artifactId>
|
2023-04-07 20:39:13 +02:00
|
|
|
- <version>2.13.0</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- </dependency>
|
|
|
|
- </dependencies>
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
2023-04-07 20:39:13 +02:00
|
|
|
- <version>3.3.0</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <configuration>
|
|
|
|
- <archive>
|
|
|
|
- <manifest>
|
|
|
|
- <addDefaultEntries>false</addDefaultEntries>
|
|
|
|
- </manifest>
|
|
|
|
- <manifestEntries>
|
|
|
|
- <Automatic-Module-Name>org.bukkit</Automatic-Module-Name>
|
|
|
|
- </manifestEntries>
|
|
|
|
- </archive>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-shade-plugin</artifactId>
|
2023-08-06 02:21:59 +02:00
|
|
|
- <version>3.5.0</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <executions>
|
|
|
|
- <execution>
|
|
|
|
- <phase>package</phase>
|
|
|
|
- <goals>
|
|
|
|
- <goal>shade</goal>
|
|
|
|
- </goals>
|
|
|
|
- </execution>
|
|
|
|
- </executions>
|
|
|
|
- <configuration>
|
|
|
|
- <filters>
|
|
|
|
- <filter>
|
|
|
|
- <artifact>*:*</artifact>
|
|
|
|
- <excludes>
|
|
|
|
- <exclude>META-INF/MANIFEST.MF</exclude>
|
|
|
|
- </excludes>
|
|
|
|
- </filter>
|
|
|
|
- </filters>
|
|
|
|
- <!-- when downloading via Maven we can pull depends individually -->
|
|
|
|
- <shadedArtifactAttached>true</shadedArtifactAttached>
|
2023-03-10 21:18:50 +01:00
|
|
|
- <!-- In 3.3.0 and later, shadedArtifactAttached causes dependant projects to use dependency reduced pom (bug?) -->
|
|
|
|
- <createDependencyReducedPom>false</createDependencyReducedPom>
|
2021-06-17 19:11:00 +02:00
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-javadoc-plugin</artifactId>
|
2023-04-07 20:39:13 +02:00
|
|
|
- <version>3.5.0</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <configuration>
|
|
|
|
- <links>
|
2023-04-07 20:39:13 +02:00
|
|
|
- <link>https://guava.dev/releases/31.1-jre/api/docs/</link>
|
2021-06-17 19:11:00 +02:00
|
|
|
- </links>
|
2023-04-09 02:00:50 +02:00
|
|
|
- <tags>
|
|
|
|
- <tag>
|
|
|
|
- <name>apiNote</name>
|
|
|
|
- <placement>a</placement>
|
|
|
|
- <head>API Note:</head>
|
|
|
|
- </tag>
|
|
|
|
- </tags>
|
2021-06-17 19:11:00 +02:00
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
2023-09-24 09:16:58 +02:00
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
- <version>3.1.0</version>
|
|
|
|
- </plugin>
|
2021-06-17 19:11:00 +02:00
|
|
|
- </plugins>
|
|
|
|
- </build>
|
|
|
|
-
|
|
|
|
- <profiles>
|
|
|
|
- <profile>
|
|
|
|
- <id>development</id>
|
|
|
|
- <properties>
|
|
|
|
- <skipTests>false</skipTests>
|
|
|
|
- </properties>
|
|
|
|
- <build>
|
|
|
|
- <plugins>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-checkstyle-plugin</artifactId>
|
2023-06-07 18:24:39 +02:00
|
|
|
- <version>3.3.0</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <executions>
|
|
|
|
- <execution>
|
|
|
|
- <phase>process-classes</phase>
|
|
|
|
- <goals>
|
|
|
|
- <goal>check</goal>
|
|
|
|
- </goals>
|
|
|
|
- </execution>
|
|
|
|
- </executions>
|
|
|
|
- <configuration>
|
|
|
|
- <configLocation>checkstyle.xml</configLocation>
|
|
|
|
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
|
|
- </configuration>
|
|
|
|
- <dependencies>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>com.puppycrawl.tools</groupId>
|
|
|
|
- <artifactId>checkstyle</artifactId>
|
2021-11-22 06:21:37 +01:00
|
|
|
- <version>8.45.1</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- </dependency>
|
|
|
|
- </dependencies>
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.codehaus.mojo</groupId>
|
|
|
|
- <artifactId>animal-sniffer-maven-plugin</artifactId>
|
2023-04-07 20:39:13 +02:00
|
|
|
- <version>1.23</version>
|
2021-06-17 19:11:00 +02:00
|
|
|
- <executions>
|
|
|
|
- <execution>
|
|
|
|
- <phase>process-classes</phase>
|
|
|
|
- <goals>
|
|
|
|
- <goal>check</goal>
|
|
|
|
- </goals>
|
|
|
|
- </execution>
|
|
|
|
- </executions>
|
|
|
|
- <configuration>
|
|
|
|
- <signature>
|
|
|
|
- <groupId>org.codehaus.mojo.signature</groupId>
|
|
|
|
- <artifactId>java18</artifactId>
|
|
|
|
- <version>1.0</version>
|
|
|
|
- </signature>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
- </plugins>
|
|
|
|
- </build>
|
|
|
|
- </profile>
|
|
|
|
- </profiles>
|
|
|
|
-</project>
|