Uses the latest plugin and removes unnecessary stuff from the gradle config