AlessioDP / libby

A runtime dependency management library for plugins running in Java-based Minecraft server platforms.
MIT License
76 stars 20 forks source link

Libby-Bukkit Dependency size #36

Closed ItsRainingHP closed 6 months ago

ItsRainingHP commented 6 months ago

libby-bukkit dependency is over 6 mbs? Posting error for resolution hopefully. Developer is aware.

This is the only dependency in my pom.xml

        <dependency>
            <groupId>com.alessiodp.libby</groupId>
            <artifactId>libby-bukkit</artifactId>
            <version>2.0.0-SNAPSHOT</version>
        </dependency>

image

It looks like the entire Bukkit API is inside the jar. image

As suggested in the README file I do have the configuration section in maven-shade

                <configuration>
                    <relocations>
                        <relocation>
                            <pattern>com.alessiodp.libby</pattern>
                            <shadedPattern>com.mysite.libs.com.alessiodp.libby</shadedPattern>
                        </relocation>
                    </relocations>
                </configuration>
frengor commented 6 months ago

I forgot to fix the bukkit module in a previous commit which fixed this for the other platforms.

ItsRainingHP commented 6 months ago

This commit has corrected the issue.