Open zxdposter opened 2 years ago
Setting the extra property as shown in the README.md file doesn't work?? https://github.com/bytedeco/gradle-javacpp#the-platform-plugin
@saudet yes it work, I already used with macosx-x86_64
, but I want change when some task run such as package task.
It won't work if you set it after Gradle has resolved the dependencies. You need to make sure to set it before that happens.
yes, I noticed that, so I want find a way to solve, have any suggestions?
One way to do that kind thing would be to split your project into multiple subprojects. Then we can do anything we need in the parent project, and only call the subproject for that package task, where we can set javacppPlatform early before it resolves its dependencies.
I want use
macosx-x86_64
on run application, but uselinux-x86_64
when package.These way seems not working.
or