-
|
Sorry, I can not find any forum, mailing list or other community support for your project, so I ask here. I need to link JNI library to system-depended libraries and include path (!) for JNI library. This works: This doesn't work and I can not find any documentation how to do this: It complains: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Sorry for missing your issue/question, there's a discussion tab on the project (I will move the issue there). You can also use the Gradle community Slack, there's a It's a great question and the answer is to use Your thinking was right. You can always use |
Beta Was this translation helpful? Give feedback.
Sorry for missing your issue/question, there's a discussion tab on the project (I will move the issue there). You can also use the Gradle community Slack, there's a
#nativechannel.It's a great question and the answer is to use
includes.from('<path>'). There's quite a legacy behind why the documentation only showsheaderSearchPaths. Theincludesproperty is a public-ishConfigurableFileCollectionproperty that comes from Gradle core types which we currently use. The unfortunate downside of the singleincludesproperty is the lack of information to distinguish between a header search path that is an include root (directory) vs a framework on macOS. Ideally, both are header search paths. I…