We have been using Gradle since before it supported building native binaries, so we wrote the build logic ourselves. Now I’m wondering how hard it would be to move to the (by now) built-in Gradle plugin.
We have build logic that uses the output of the compiled native (and java) binaries of it’s own build: We have some low level components, with native code, and java (JNI) wrappers around it. We build those first, and can then use it to build other artifacts.
Now, my question: What’s the proper way of putting the libs, output by the c and cpp plugins on one subproject, on PATH (on Windows) or LD_LIBRARY_PATH (on *nix) of another sub project?