Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei1058 committed Aug 19, 2024
1 parent 4e9125e commit 7de1317
Show file tree
Hide file tree
Showing 13 changed files with 1,308 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public abstract class VersionSupport {
private static final ConcurrentHashMap<UUID, Despawnable> despawnables = new ConcurrentHashMap<>();
private final Plugin plugin;

/**
* @param plugin bed-wars instance.
* @param versionName version name.
*/
public VersionSupport(Plugin plugin, String versionName) {
name2 = versionName;
this.plugin = plugin;
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
<module>versionsupport_v1_20_R2</module>
<module>versionsupport_v1_20_R3</module>
<module>versionsupport_v1_20_R4</module>
<module>versionsupport_v1_21_R1</module>
<module>versionsupport_nms_cmn1</module>
</modules>

<distributionManagement>
Expand Down
66 changes: 66 additions & 0 deletions versionsupport_nms_cmn1/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?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>com.andrei1058.bedwars</groupId>
<artifactId>BedWars1058</artifactId>
<version>23.12.1-SNAPSHOT</version>
</parent>

<artifactId>versionsupport_nms_cmn1</artifactId>

<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>16</source>
<target>16</target>
</configuration>
</plugin>
</plugins>
</build>

<description>
NMS common code for versions where server version was removed from package name.
This is known to be compatible with 1.21
</description>

<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.21.1-R0.1-SNAPSHOT</version>
<type>jar</type>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.andrei1058.bedwars</groupId>
<artifactId>bedwars-api</artifactId>
<version>${project.version}</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.andrei1058.bedwars</groupId>
<artifactId>versionsupport-common</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>

</project>
Loading

0 comments on commit 7de1317

Please sign in to comment.