add C++ example with Gradle wrapper
fix eol in case of gradle wrapper script