and integrated it in the jvm/desktop (Windows only, actually) application I'm developing using compose, would you be interested in integrating that feature on your library if I find some spare time to do a pull request?
a
Adam Brown
01/18/2023, 6:54 PM
absolutely! we'll want to make sure it's also multi-platform, but that would be great!
f
Francesco Pedron
01/27/2023, 8:59 AM
Hello Adam,
maybe you are already aware of it but I found out that lwjgl requires this line to be added on build.gradle inside `nativeDistributions`for desktop
modules("jdk.unsupported")
Otherwise a ClassNotFoundException: sun.misc.Unsafe will be thrown when the distributable version of the application is run (doesn't happen when you use non distributable version, e.g. with "run").
Please note that I'm using lwjgl directly, not your library.
👍 1
a
Adam Brown
02/02/2023, 6:16 AM
oh I did not know that! But this will just be in projects that include the library then right? I don't have any
nativeDistributions
defined in the library it's self
f
Francesco Pedron
02/06/2023, 2:13 PM
I don't know if there is a way for you to declare that your library need that module and have projects that use it to get that configuration automatically, maybe that's not possible.