upgrade the gradle version from 7 to 9