aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paper-api/.gitignore40
-rw-r--r--paper-server/.gitignore45
-rw-r--r--paper-server/build.gradle.kts1
-rw-r--r--paper-server/patches/sources/net/minecraft/server/packs/VanillaPackResourcesBuilder.java.patch18
-rw-r--r--paper-server/src/assembly/META-INF/main-class1
-rw-r--r--paper-server/src/assembly/bootstrap.xml65
-rw-r--r--paper-server/src/test/java/org/bukkit/support/RegistryHelper.java1
7 files changed, 0 insertions, 171 deletions
diff --git a/paper-api/.gitignore b/paper-api/.gitignore
deleted file mode 100644
index 97e78e27ee..0000000000
--- a/paper-api/.gitignore
+++ /dev/null
@@ -1,40 +0,0 @@
-.gradle/
-
-# Eclipse stuff
-/.classpath
-/.project
-/.settings
-/.checkstyle
-/.factorypath
-
-# netbeans
-/nbproject
-/nb-configuration.xml
-
-# we use maven!
-/build.xml
-
-# maven
-/target
-
-# vim
-.*.sw[a-p]
-
-# various other potential build files
-/build
-/bin
-/dist
-/manifest.mf
-
-# Mac filesystem dust
-.DS_Store
-
-# intellij
-*.iml
-*.ipr
-*.iws
-.idea/
-
-# vs code
-/.vscode
-/.factorypath
diff --git a/paper-server/.gitignore b/paper-server/.gitignore
deleted file mode 100644
index 083ccfdb5f..0000000000
--- a/paper-server/.gitignore
+++ /dev/null
@@ -1,45 +0,0 @@
-.gradle/
-build/
-
-# Eclipse stuff
-/.classpath
-/.project
-/.settings
-/.checkstyle
-/.factorypath
-
-# netbeans
-/nbproject
-nb*.xml
-
-# we use maven!
-/build.xml
-
-# maven
-/target
-dependency-reduced-pom.xml
-
-# vim
-.*.sw[a-p]
-
-# various other potential build files
-/build
-/bin
-/dist
-/manifest.mf
-
-/world
-/logs
-
-# Mac filesystem dust
-.DS_Store
-
-# intellij
-*.iml
-*.ipr
-*.iws
-.idea/
-
-# vs code
-/.vscode
-/.factorypath
diff --git a/paper-server/build.gradle.kts b/paper-server/build.gradle.kts
index 266795c487..c07f189f60 100644
--- a/paper-server/build.gradle.kts
+++ b/paper-server/build.gradle.kts
@@ -313,7 +313,6 @@ tasks.registerRunTask("runReobfServer") {
tasks.registerRunTask("runDevServer") {
description = "Spin up a test server without assembling a jar"
classpath(sourceSets.main.map { it.runtimeClasspath })
- jvmArgs("-DPaper.pushPaperAssetsRoot=true")
}
tasks.registerRunTask("runBundler") {
diff --git a/paper-server/patches/sources/net/minecraft/server/packs/VanillaPackResourcesBuilder.java.patch b/paper-server/patches/sources/net/minecraft/server/packs/VanillaPackResourcesBuilder.java.patch
deleted file mode 100644
index acd2b45a58..0000000000
--- a/paper-server/patches/sources/net/minecraft/server/packs/VanillaPackResourcesBuilder.java.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/net/minecraft/server/packs/VanillaPackResourcesBuilder.java
-+++ b/net/minecraft/server/packs/VanillaPackResourcesBuilder.java
-@@ -137,6 +_,15 @@
-
- public VanillaPackResourcesBuilder applyDevelopmentConfig() {
- developmentConfig.accept(this);
-+ if (Boolean.getBoolean("Paper.pushPaperAssetsRoot")) {
-+ try {
-+ this.pushAssetPath(net.minecraft.server.packs.PackType.SERVER_DATA, net.minecraft.server.packs.VanillaPackResourcesBuilder.safeGetPath(java.util.Objects.requireNonNull(
-+ // Important that this is a patched class
-+ VanillaPackResourcesBuilder.class.getResource("/data/.paperassetsroot"), "Missing required .paperassetsroot file").toURI()).getParent());
-+ } catch (java.net.URISyntaxException | IOException ex) {
-+ throw new RuntimeException(ex);
-+ }
-+ }
- return this;
- }
-
diff --git a/paper-server/src/assembly/META-INF/main-class b/paper-server/src/assembly/META-INF/main-class
deleted file mode 100644
index 94a6b1554c..0000000000
--- a/paper-server/src/assembly/META-INF/main-class
+++ /dev/null
@@ -1 +0,0 @@
-org.bukkit.craftbukkit.Main \ No newline at end of file
diff --git a/paper-server/src/assembly/bootstrap.xml b/paper-server/src/assembly/bootstrap.xml
deleted file mode 100644
index f8980991f5..0000000000
--- a/paper-server/src/assembly/bootstrap.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
-
- <id>bootstrap</id>
-
- <formats>
- <format>jar</format>
- </formats>
-
- <includeBaseDirectory>false</includeBaseDirectory>
-
- <files>
- <file>
- <destName>libraries.list</destName>
- <outputDirectory>META-INF</outputDirectory>
- <source>${project.build.directory}/dependencies-checksums.sha</source>
- </file>
- <file>
- <destName>versions.list</destName>
- <outputDirectory>META-INF</outputDirectory>
- <source>${project.build.directory}/artifacts-checksums.sha</source>
- </file>
- </files>
-
- <fileSets>
- <fileSet>
- <directory>${project.basedir}/src/assembly/META-INF</directory>
- <filtered>true</filtered>
- <outputDirectory>META-INF</outputDirectory>
- </fileSet>
- </fileSets>
-
- <dependencySets>
- <!-- libraries -->
- <dependencySet>
- <excludes>
- <exclude>org.spigotmc:minecraft-server</exclude>
- </excludes>
- <outputDirectory>META-INF/libraries</outputDirectory>
- <useProjectArtifact>false</useProjectArtifact>
- </dependencySet>
-
- <!-- main jar -->
- <dependencySet>
- <includes>
- <include>${project.groupId}:${project.artifactId}</include>
- </includes>
- <outputDirectory>META-INF/versions</outputDirectory>
- </dependencySet>
-
- <!-- bootstrap -->
- <dependencySet>
- <includes>
- <include>${project.groupId}:${project.artifactId}</include>
- </includes>
- <unpack>true</unpack>
- <unpackOptions>
- <includes>
- <include>org/bukkit/craftbukkit/bootstrap/**</include>
- </includes>
- </unpackOptions>
- </dependencySet>
- </dependencySets>
-</assembly>
diff --git a/paper-server/src/test/java/org/bukkit/support/RegistryHelper.java b/paper-server/src/test/java/org/bukkit/support/RegistryHelper.java
index 68ae998b30..629e3a3bca 100644
--- a/paper-server/src/test/java/org/bukkit/support/RegistryHelper.java
+++ b/paper-server/src/test/java/org/bukkit/support/RegistryHelper.java
@@ -75,7 +75,6 @@ public final class RegistryHelper {
}
public static void setup(FeatureFlagSet featureFlagSet) {
- System.setProperty("Paper.pushPaperAssetsRoot", "true"); // Paper - build system changes - push asset root
SharedConstants.tryDetectVersion();
Bootstrap.bootStrap();