Modernize gradle for 2.x