Switch to build with gradle