Swith to gradle and update to zxing 3.1.0