Adding gradle and lollipop compatibility.