Modified gradle to remove unused libraries