Re: Gradle toolchain management

2025-05-12 Thread Steven van Rossum via dev
I have a draft PR up at https://github.com/apache/beam/pull/34915 with some changes and I'm cleaning up some remaining issues. I merged the javaVersion and testJavaVersion properties since the compilation toolchain shouldn't dictate binary compatibility with the minimum supported runtime version. I

Re: Gradle toolchain management

2025-05-06 Thread Yi Hu via dev
Thanks for raising this topic. Toolchain sounds a promising solution for challenges that we currently have, e.g. in https://github.com/apache/beam/issues/34747. I've been working on a home-made solution https://github.com/apache/beam/pull/34858. I wonder using java toolchain could be much simpler.

Re: Gradle toolchain management

2025-05-06 Thread Kenneth Knowles
We've actually been stuck since at least 2022 AFAIK ( https://github.com/apache/beam/pull/24245 and I think there have been other attempts as people discover it is not possible) I'm generally for moves that unblock Beam from using up-to-date tools and techniques, as long as we support our users wh

Gradle toolchain management

2025-05-06 Thread Steven van Rossum via dev
Hi all, I was hoping to update Error Prone to version 2.38.0 so we can turn on the ThreadSafe checker (https://errorprone.info/bugpattern/ThreadSafe), but it looks like that checker might not work just yet ( https://github.com/google/error-prone/issues/4833). While preparing for that change I fou