diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy index 290f72399dbd..be9f99008899 100644 --- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy +++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy @@ -691,6 +691,8 @@ class BeamModulePlugin implements Plugin { // Enable errorprone static analysis project.apply plugin: 'net.ltgt.errorprone' + project.configurations.errorprone { resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.3.1' } + // Enables a plugin which can perform shading of classes. See the general comments // above about dependency management for Java projects and how the shadow plugin // is expected to be used for the different Gradle configurations.