-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency files size #103
Comments
I've reduced the size from 3mb~ to 110kb~. I've removed packetevents, because i'm already using protocollib. removed gson, because paper already has. removed kyori dependencies except the event one. and paperclip because i'm already using paper and 1.18.2+ no need to a library that the only thing it does is that checking versions and is paper or not. these are for my personal usages so i've just configured the gradle for my own purposes, you can also do that if you're using certain version of minecraft etc. |
The Issue is I have a plugin that is made for every version after 1.8 so I would need the support, but the plugin also forces users to use ProtocolLib so yeah would love to remove packetevents is yours a fork of NPC-Lib? If so can you share the repository? |
you can check it out here i've updated the gradle file structure a bit. you need to implement api, common and bukkit at the same time. bukkit does not come with all the dependencies like api and common. clone the repository and run ./gradlew publishToMavenLocal that's it. i've configured the repository for my own purposes so, if it does not work on your projects, i cannot do anything about it. |
Is there a way to reduce the overall dependency size? For example no longer used dependencies or code that uses for example a single line of code from an dependency and nothing else?
I am asking for this since the dependency file is 4MB in size for bukkit (unsure about the rest).
And this keeps people from directly uploading to SpigotMC for example, since their limit is about 5MB.
Could this be looked into?
The text was updated successfully, but these errors were encountered: