In my plugin, I am trying use jna to retrieve git credentials from Windows Secrets Manager. i have added both jna and jna-platform dependencies on my implementations section of the build-gradle.kts. running the plugin though, it is complaining about missing JNA native support library when i run the plugin.
is including them under dependencies not sufficient? anything else that is required? thanks
I had this issue, but it was just a dumb mistake on my part - make sure you’re not using the .jar files generated in libs to run your plugin (I had been doing this for a while before importing an external dependency).
Instead, make sure you’re using either the runIde gradle task or the .zip in gradle-output-folder/distributions created with the buildPlugin task.
I dont know if i can upload it from where the code is currently. the dependencies for jna:5.140 and jna-platform:5.14.0 were added and the class that integrates with windows credentials manager using JNA. The class that interacts with credentials manager works if run as a standalone java project outside of the plugin.