Solved IntelliJ: Exporting my plugin is around 20MB?

Discussion in 'Spigot Plugin Development' started by Fluddershy, Jun 2, 2017.

  1. Hello everyone, my day's been great but for one problem. I've converted to IntelliJ a couple weeks ago and whenever I build my project, it's usually over around 19mb or 19,000kb. Now, I for sure want to fix this, because for 1, my customers aren't liking it, and for 2, it takes around 7 seconds to build. Here is what I do for exporting/building the project(settings). And here is what I do for adding the bukkit API. I have decompiled it and this is what I see. I really want this fixed, thanks in advance!
  2. Remove the 'Extracted "craftbukkitapi.jar"' thing from your artifact, right now you are including in the jar the server, which is unnecessary because, well, the server has the server jar :)
  3. Thank you so much! My plugins now export fast and are lightweight!