How would I export with my depends (Eclipse)

Discussion in 'Spigot Plugin Development' started by Bjarge, Jun 26, 2018.

  1. Hi, I was wondering if anyone knew how I would export with one of my depends for example I want to export my jar with JDA for Discord. Thanks!
     
  2. You must Export your Plugin as a runnable Jar, if you use Maven
     
  3. Is there any other way? I'm terrible with Maven.
     
  4. I don't know if this work with normal librairies. With Maven it works, i used it some Time ago
     
  5. Ah, I'm just really really bad at Maven haha.
     
    • Funny Funny x 1
  6. If you are not using maven/gradle/something like that, when you are exporting it, check "include libraries" or something like that.. but you can get conflicts by doing it like that..
     
  7. Hm I can't find anything like that.
     
  8. Right click > Export > Java - Runnable JAR file > Next > Choose something from "Library handling" > ...
     
  9. Easy use intellij
     
  10. If you are terrible with maven, then go learn it.
    You cant just excpet to master a skill or piece of software first time, but in this case, what you want to do, you should really pick it up :)
     
  11. Well, I got maven working but I don't know how to compile with the depends using Maven either. :(
     
  12. Look into shading