gradle-native-example Compile Java application with JNI, and cpp project using Gradle's cpp-plugin. Projects java-app - An application with native method(thus generates header file). cpp-lib - A cpp library project implements generated header file.