Update google-java-format to 1.24.0 by loosebazooka · Pull Request #957 · sigstore/sigstore-java
No no no. We use the latest and greatest javac compiler, and we use --release 11 so it produces Java 11-compatible bytecode. This should reduce the number of bugs we face when we use old javac.
See #923
In practice, you could launch the build with ./gradlew -PjdkBuildVersion=21 jar to build the jars with javac 21.
I've moved pgjdbc to use javac 21 recently: pgjdbc/pgjdbc#3612, and it might be time to bump the build JDK for sigstore-java as well.
That's cool, isn't it?