wpilibsuite / gradle-jni

Gradle plugin for ease of creating JNI libraries.
14 stars 5 forks source link

add complete example application #7

Open liblit opened 6 years ago

liblit commented 6 years ago

@ThadHouse, you have been exceptionally helpful in getting me up and running with the Gradle JNI plugin. My simple skeleton application is now a complete working example, including proper management of the shared library in binary distributions. Would you consider adding a complete example like this to the official gradle-jni repository? Perhaps it makes sense to keep the example in a separate repository, but link to that repository from the gradle-jni documentation? I would be happy for you to fork or clone my example for that purpose.

I also welcome any constructive feedback to improve my Gradle style, especially regarding my use of the Gradle software model for native compilation. For example:

Thank you for any suggestions! I hope that my offer of an instructional example for others partially repays @ThadHouse for all of the help he has given me.

ghost commented 3 years ago

https://github.com/liblit/simple-jni/blob/master/build.gradle

This file contains system properties.

Will this set up work on Windows, Linux and mac ?