Skip to content

Commit

Permalink
Split invui module in invui and invui-core
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
NichtStudioCode committed Apr 15, 2023
1 parent 372ea76 commit 206a709
Show file tree
Hide file tree
Showing 99 changed files with 56 additions and 27 deletions.
47 changes: 47 additions & 0 deletions invui-core/pom.xml
Original file line number Diff line number Diff line change
@@ -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>
File renamed without changes.
4 changes: 2 additions & 2 deletions invui-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -31,7 +31,7 @@
</dependency>
<dependency>
<groupId>xyz.xenondevs.invui</groupId>
<artifactId>invui</artifactId>
<artifactId>invui-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion invui-resourcepack/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</dependency>
<dependency>
<groupId>xyz.xenondevs.invui</groupId>
<artifactId>invui</artifactId>
<artifactId>invui-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
27 changes: 4 additions & 23 deletions invui/pom.xml
Original file line number Diff line number Diff line change
@@ -1,45 +1,26 @@
<?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>
<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>
<artifactId>invui-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 206a709

Please sign in to comment.