Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 14:30:17 +01:00
31be608038
The refactors in this commit go a bit beyond the scope of what the sound/effects branch was meant to accomplish, however most of these changes are necessary so chunk caching could be reintroduced for the standalone version. The chunk caching here allows for us to get the block ID before the block was broken, and in the future allow us to implement newer features. Chunk caching is optional (and disabled by default) as on non-Bukkit versions, it can eat up a lot of RAM with many players online.
137 Zeilen
5.5 KiB
XML
137 Zeilen
5.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>
|
|
<parent>
|
|
<groupId>org.geysermc</groupId>
|
|
<artifactId>bootstrap-parent</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<relativePath>../</relativePath>
|
|
</parent>
|
|
<artifactId>bootstrap-standalone</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.geysermc</groupId>
|
|
<artifactId>connector</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.minecrell</groupId>
|
|
<artifactId>terminalconsoleappender</artifactId>
|
|
<version>1.1.1</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-reader</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal-jna</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal</artifactId>
|
|
<version>3.9.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-terminal-jna</artifactId>
|
|
<version>3.9.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jline</groupId>
|
|
<artifactId>jline-reader</artifactId>
|
|
<version>3.9.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
<version>2.13.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>2.13.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j18-impl</artifactId>
|
|
<version>2.13.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>${outputName}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Main-Class>org.geysermc.platform.standalone.GeyserStandaloneBootstrap</Main-Class>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.github.edwgiz</groupId>
|
|
<artifactId>maven-shade-plugin.log4j2-cachefile-transformer</artifactId>
|
|
<version>2.8.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>false</minimizeJar>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/versions/9/module-info.class</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>org.geysermc.platform.standalone.GeyserStandaloneBootstrap</mainClass>
|
|
<manifestEntries>
|
|
<Multi-Release>true</Multi-Release>
|
|
</manifestEntries>
|
|
</transformer>
|
|
<transformer
|
|
implementation="com.github.edwgiz.mavenShadePlugin.log4j2CacheTransformer.PluginsCacheFileTransformer">
|
|
</transformer>
|
|
</transformers>
|
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|