Switch to the new gradle directory layout.