Adding gradle build file to xml examples project.