Hello, Some days ago I noticed that I can’t build the project from old release branches . For example, I wanted to build and run Spark Job Server from “release-2.20.0” branch and it failed:
./gradlew :runners:spark:job-server:runShadow —stacktrace * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':model:pipeline:compileJava’. … Caused by: org.gradle.internal.UncheckedException: java.lang.ClassNotFoundException: com.google.errorprone.ErrorProneCompiler$Builder … I experienced the same issue for “release-2.19.0” and “release-2.21.0” branches, I didn’t check older branches but seems it’s a global issue for “net.ltgt.gradle:gradle-errorprone-plugin:0.0.13". This is already known issue and it was fixed for 2.22.0 [1] a while ago. By applying a fix from [2] on top of previous branch, for example, “release-2.20.0” branch I’ve managed to build it. Though, the problem for old branches (<2.22.0) is still there - it’s not possible to build them right after checkout without applying the fix. So, there are two questions: 1. Is anyone aware why the old static version of gradle-errorprone-plugin fails for the branches that were successfully built before? 2. Do we have to fix it for release branches <2.22.0 (either cherry-pick the fix for 2.22.0 or somehow else if it’s possible)? [1] https://issues.apache.org/jira/browse/BEAM-10263 <https://issues.apache.org/jira/browse/BEAM-10263> [2] https://github.com/apache/beam/pull/11527 <https://github.com/apache/beam/pull/11527>