From 41a5206e69d9dc6c1fa4efcfaf0f77dd3a181b01 Mon Sep 17 00:00:00 2001 From: Flowsqy <47575244+Flowsqy@users.noreply.github.com> Date: Tue, 28 Dec 2021 23:56:28 +0100 Subject: [PATCH] Add reflection module for backward compatibility --- nms/reflection/pom.xml | 27 +++++++++++++++++++++++++++ plugin/pom.xml | 4 ++++ pom.xml | 6 ++++++ 3 files changed, 37 insertions(+) create mode 100644 nms/reflection/pom.xml diff --git a/nms/reflection/pom.xml b/nms/reflection/pom.xml new file mode 100644 index 0000000..d1719ad --- /dev/null +++ b/nms/reflection/pom.xml @@ -0,0 +1,27 @@ +<?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"> + <parent> + <artifactId>ShopChest-parent</artifactId> + <groupId>de.epiceric</groupId> + <version>1.14.0-SNAPSHOT</version> + <relativePath>../../pom.xml</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + + <artifactId>shopchest-nms-reflection</artifactId> + <version>1.0.0</version> + + <dependencies> + <dependency> + <groupId>org.spigotmc</groupId> + <artifactId>spigot-api</artifactId> + </dependency> + <dependency> + <groupId>de.epiceric</groupId> + <artifactId>shopchest-nms-interface</artifactId> + </dependency> + </dependencies> + +</project> \ No newline at end of file diff --git a/plugin/pom.xml b/plugin/pom.xml index 765efd2..56cfc60 100644 --- a/plugin/pom.xml +++ b/plugin/pom.xml @@ -88,6 +88,10 @@ <groupId>de.epiceric</groupId> <artifactId>shopchest-nms-interface</artifactId> </dependency> + <dependency> + <groupId>de.epiceric</groupId> + <artifactId>shopchest-nms-reflection</artifactId> + </dependency> <dependency> <groupId>de.epiceric</groupId> <artifactId>shopchest-nms-v1_17_R1</artifactId> diff --git a/pom.xml b/pom.xml index a157772..78bc7aa 100644 --- a/pom.xml +++ b/pom.xml @@ -12,6 +12,7 @@ <modules> <module>plugin</module> <module>nms/interface</module> + <module>nms/reflection</module> <module>nms/v1_17_R1</module> </modules> @@ -220,6 +221,11 @@ <artifactId>shopchest-nms-interface</artifactId> <version>1.0.0</version> </dependency> + <dependency> + <groupId>de.epiceric</groupId> + <artifactId>shopchest-nms-reflection</artifactId> + <version>1.0.0</version> + </dependency> <dependency> <groupId>de.epiceric</groupId> <artifactId>shopchest-nms-v1_17_R1</artifactId>