Overhaul gradle workspace and prepare for maven