NichtStudioCode / InvUI

A spigot library for creating custom inventory-based GUIs.
MIT License
242 stars 19 forks source link

Adding api to the server? #72

Closed GustavHaavik closed 3 months ago

GustavHaavik commented 3 months ago

I have added the repository and dependency to my pom.xml

<repositories>
        <repository>
            <id>xenondevs</id>
            <url>https://repo.xenondevs.xyz/releases</url>
        </repository>
    </repositories>
<dependencies>
        <dependency>
            <groupId>xyz.xenondevs.invui</groupId>
            <artifactId>invui</artifactId>
            <version>1.32</version>
            <type>pom</type>
        </dependency>
    </dependencies>

but it doesnt compile the code into my plugin's jar file, so I get a NoClassDefFoundError: xyz/xenondevs/invui/item/Item.

NichtStudioCode commented 3 months ago

You can create a fat jar using maven shade, or load the library any other way, for example using Paper's library loading mechanism.