nimmis / docker-spigot

A docker container with spigot, builds spigot.jar on first start
177 stars 81 forks source link

Minecraft 1.18 won't build with Java 16 #50

Closed zaunermax closed 2 years ago

zaunermax commented 2 years ago

When trying to build the newest Spigot version for MC 1.18 the container log shows this error message:

Found version,
{,
    "name": "3339",,
    "description": "Jenkins build 3339",,
    "refs": {,
        "BuildData": "8814411100e91e323a23a9a6355fa7d28e091054",,
        "Bukkit": "f023e77ad7343fa11812d3118efc956b67cdd242",,
        "CraftBukkit": "581df1846f2b3e09b20e71fd44851f3e68f1f7db",,
        "Spigot": "3c40a6c908b0a67b05ebf8f5268d64838e117d41",
    },,
    "toolsVersion": 138,,
    "javaVersions": [61, 61],
},
,
*** The version you have requested to build requires Java versions between [Java 17, Java 17], but you are using Java 16,
*** Please rerun BuildTools using an appropriate Java version. For obvious reasons outdated MC versions do not support Java versions that did not exist at their release.,
cp: cannot stat '/build-mc/Spigot/Spigot-Server/target/spigot-*.jar': No such file or directory,
*** Running /etc/my_runalways/85_fix_startsh...,
*** Running /etc/my_runalways/90_eula...,
*** Booting supervisor daemon...,
*** Supervisor started as PID 146,
*** Started processes via Supervisor......,
crond                            RUNNING   pid 148, uptime 0:00:04,
spigot                           BACKOFF   Exited too quickly (process log may have details),
syslog-ng                        RUNNING   pid 150, uptime 0:00:04
nimmis commented 2 years ago

I Know, working on a new release that can handle both 1.18 and previous versions of minecraft. You cannot use java 1.17 to build older versions of mc. It will be released today or tomorrow because I need to redesigen/add new code to handel legacy versions.

zaunermax commented 2 years ago

Thank's for maintaining this cool project btw 🙌

ginomessmer commented 2 years ago

@nimmis Sounds good. Any way we could help?

nimmis commented 2 years ago

@ginomessmer All the coding is done, just checking that all logic does work as intended and updating the documentation as there are allot of changes/improvements. I do this on my spare time with other commitments some delays can happen, but if nothing really bad is found I will release it today.

nimmis commented 2 years ago

@ginomessmer @zaunermax released Don't forget to do a

docker pull nimmis/spigot

before to update version