Hello guys, in <Signing and notarization for macO...
# compose-desktop
r
Hello guys, in Signing and notarization for macOS it is mentioned that: _You can include native libraries in the bundle using
fromFiles
(see here) and then you can load them in JVM code using `System.loadLibrary("LIBRARYNAME")`_ In the link (see here) it gives an example to place it like that:
Copy code
compose.desktop {
    application {
        . . .
        fromFiles(project.fileTree("libs/") { include("**/*.jar") })
I am trying to include some
.dylib
(of course I removed
{ include("**/*.jar") }
part) files for my project but the contents of
libs/
do not seem to be copied to the resulting
.app
image. Any ideas how to get it working?
m
You say you “removed” the include part. Shouldn’t you actually have replaced that with
{ include("**/*.dylib") }
?
r
Will check that, I assumed by default it includes everything, lets see
Nah, still no luck ...
by looking at the compose plugin's source code it seems that these files are copied only when proguard task is executed (I need to confirm that)