Update to setup-java v2, and use adopt builds
Update to setup-java v2, and use adopt builds

https://github.com/actions/setup-java/blob/main/docs/switching-to-v2.md

PiperOrigin-RevId: 384750269

sormuras/google-java-format,sormuras/google-java-format,sormuras/google-java-format