// This config is Apache licensed and can be used without restriction. Please file pull requests to add new system properties here: // // https://github.com/hydraulic-software/conveyor // // This is a config snippet that configures a Conveyor build to use the native library extraction feature (see user guide for details). // It enables the feature and then configures popular libraries to look for their libraries in the JVM lib folder, instead of copying the // libraries out of the JAR to the user's home directory. // // Although importing this config may result in system properties for libraries you don't use, the runtime cost is low and the usability // benefit is high. app.jvm { extract-native-libraries = true system-properties { // Java Native Access: https://github.com/java-native-access/jna/issues/384 jna.nosys = false // FlatLAF: a modern Swing theme. flatlaf.nativeLibraryPath = system // jSerialComm: accessing bluetooth and other serial ports. https://github.com/Fazecast/jSerialComm/wiki/Troubleshooting jSerialComm.library.path = } // Truffle debugging. windows.options += "-Dtruffle.attach.library=\\truffleattach.dll" linux.options += "-Dtruffle.attach.library=/libtruffleattach.so" mac.options += "-Dtruffle.attach.library=/libtruffleattach.dylib" } // If you add a key, bump this number. internal.conveyor.extract-libraries-conf-version = 2