Closed byBackfish closed 3 years ago
Or a better Question, how can i get that api as a Jar? Do I have to self compile it?
It shows that error because bukkit/spigot pre 1.10 uses an older version of Google guava. It'll only work on newer versions of bukkit. The only thing I would say you could do is build the server jar with a newer version or use shadow jar to rename all the packages of the guava to something else
mmh okay. Thanks
Sorry, if im asking for too much, but do you know any Documentation for that? Like i dont really know what you mean with shadow jar? Thanks
Google shadow jar package relocation gradle
On Sep 12, 2020, at 2:07 PM, byBackfish notifications@github.com wrote:
Sorry, if im asking for too much, but do you know any Documentation for that? Like i dont really know what you mean with shadow jar? Thanks
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Okay. I got it now, but now my last question is, where do I need to put the maven shade in? In the Api or in the Spigot Plugin? Like I made ezdb into a api for the spigot Plugin so I don't need to copy the classes in every time
Hey, so when i use this like a normal Java Application, its working fine, but if i put it into my Spigot (Minecraft) Plugins, its saying
java.lang.NoSuchMethodError: com.google.common.base.CharMatcher.whitespace()Lcom/google/common/base/CharMatcher; non maven
Any Idea why?