Adding gradle project to build jar and native library.