Adding generate_protos.sh script and removing crappy gradle plugin for protobuf.