Split invui module in invui and invui-core

The new invui-core module now contains all sources. The invui module is just a bundle of invui-core and all inventory-access revisions. This should make it easier to only include on inventory-access revision for plugins that don't have multi-version support.
This commit is contained in:
NichtStudioCode 2023-04-15 18:15:18 +02:00
parent 372ea76ff4
commit 206a709335
99 changed files with 56 additions and 27 deletions

47
invui-core/pom.xml Normal file

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>xyz.xenondevs.invui</groupId>
<artifactId>invui-parent</artifactId>
<version>1.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>invui-core</artifactId>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.19.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.mojang</groupId>
<artifactId>authlib</artifactId>
<version>1.5.21</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>xyz.xenondevs.invui</groupId>
<artifactId>inventory-access</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>

@ -12,7 +12,7 @@
<artifactId>invui-kotlin</artifactId>
<properties>
<kotlin.version>1.8.0</kotlin.version>
<kotlin.version>1.8.20</kotlin.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
@ -31,7 +31,7 @@
</dependency>
<dependency>
<groupId>xyz.xenondevs.invui</groupId>
<artifactId>invui</artifactId>
<artifactId>invui-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>

@ -25,7 +25,7 @@
</dependency>
<dependency>
<groupId>xyz.xenondevs.invui</groupId>
<artifactId>invui</artifactId>
<artifactId>invui-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>

@ -1,17 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
<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>xyz.xenondevs.invui</groupId>
<artifactId>invui-parent</artifactId>
<version>1.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>invui</artifactId>
<packaging>pom</packaging>
<properties>
<maven.compiler.source>11</maven.compiler.source>
@ -19,27 +18,9 @@
</properties>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.19.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.mojang</groupId>
<artifactId>authlib</artifactId>
<version>1.5.21</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>xyz.xenondevs.invui</groupId>
<artifactId>inventory-access</artifactId>
<artifactId>invui-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>

@ -70,9 +70,10 @@
<module>inventoryaccess/inventory-access-r11</module>
<module>inventoryaccess/inventory-access-r12</module>
<module>inventoryaccess/inventory-access-r13</module>
<module>invui</module>
<module>invui-core</module>
<module>invui-resourcepack</module>
<module>invui-kotlin</module>
<module>invui</module>
</modules>
<build>