In this devlog, there’s some preparations for the release of the mod. I made the Gradle configuration build the files based on some factors:
Firstly, the project is now split into three “functionalities”: Webhooks only, with mRpc, and full.
Secondly, the project is then split into the three LTS versions: 1.20.1, 1.21.1 and 1.21.11.
Then, for every build, we put the archive files into per-mc-version directories in the root builds/libs directory. (See attachments)
This makes uploading the mod jars substantially easier for me, because they’re ordered as how I would release the features on Modrinth and GitHub. I tried setting up Modmuss’ publishMods plugin thing, but I had a lot of issues due to the fact it applies it to every Stonecutter node (version). I wanted it to grab the directories from that build directory and upload all the artefacts in there as one version on Modrinth and GitHub. But there’s no way I can make it run once, while also retaining info like the title and versions without making it super scuffed.
I opt to just post the new versions myself instead. This also ensures I don’t accidentally mess something up when automating it.
Apart from that, applying the whole Stonecutter magic brought with it that I had to implement yet again, more comment logic. I made use of the constants feature because it was the easiest way for me to check in the comments with version of the functionality we’re working with. And guess what! It works very nicely.