Migrate the project to Java 17.