#Jitpack buils are broken

16 messages · Page 1 of 1 (latest)

green fox
#

was trying to add the plugin as dependency, but apparently jitpack builds are broken (failed), i looked at logs and saw this

[INFO] Compiling 192 source files to /home/jitpack/build/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/jitpack/build/src/main/java/nl/mtvehicles/core/events/VehicleAddMemberEvent.java:[6,25] cannot access org.bukkit.entity.Player
  bad class file: /home/jitpack/.m2/repository/io/papermc/paper/paper-api/1.20-R0.1-SNAPSHOT/paper-api-1.20-R0.1-SNAPSHOT.jar(org/bukkit/entity/Player.class)
    class file has wrong version 61.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.

may be a java version issue, i dont know exactly but please fix it!

whole plinthBOT
#

green_check Your thread has been successfully created!

We offer free support and expect respect for our team. Hopefully, someone can assist you, or perhaps our support team can help. Please be patient.

Almost all questions can be answered through our wiki, make sure to check it out!
https://wiki.mtvehicles.eu

whole plinthBOT
polar fable
#

For which Minecraft Version are you coding a Plugin?

#

All modern Minecraft Servers need Java 17 for Minecraft 1.20 and newer

green fox
#

the logs are from that aswell ofcourse

green fox
#

hello any updates on this?

green fox
#

perfect thank you!

#

nope still broken

polar fable
green fox
#

yep, also you can see on jitpack that they are broken (red file icon)

polar fable
green fox
#

i used the exact link from github issue and they are red, i even cleared my cache to be sure

#

oh wait i see