update gradle and compile sdk