So I've found myself in a rabbit hole... I recently started learning javaFX and have made some apps here and there, well I've now run into a problem on how do I actually build them into a jar?
I use gradle to setup my projects, and run it through gradles application run
basically this video right here: https://www.youtube.com/watch?v=nKIMGH0l3Wo
The same guy that made that video also made a video about how to package it (https://www.youtube.com/watch?v=dLH-HjiCtaI). Although this doesn't work because I used kotlin to program my apps, and it uses jlink.
I've looked up a bunch of tutorials and guides, but they all talk about using some sort of packager like jlink.
I found a tutorial that builds an artifact which includes the resource folder, which was the closest I found to working, although the application doesn't run (Error: JavaFX runtime components are missing, and are required to run this application).
So is there a way I can build a jar file? Or did I make a mistake using Kotlin?
Thanks!