This is an automated email from the ASF dual-hosted git repository.

yhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new cf48cafe48d Fix ./gradlew spotlessApply fail groovy check (#29264)
cf48cafe48d is described below

commit cf48cafe48de1c5e9ba422c110214b4e6d7f69d1
Author: Yi Hu <ya...@google.com>
AuthorDate: Wed Nov 1 23:46:29 2023 -0400

    Fix ./gradlew spotlessApply fail groovy check (#29264)
---
 .../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy     | 3 +++
 1 file changed, 3 insertions(+)

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 2d2ac32d815..a16b21f4d63 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -2276,6 +2276,9 @@ class BeamModulePlugin implements Plugin<Project> {
         }
         groovyGradle { greclipse().configFile(grEclipseConfig) }
       }
+      // Workaround to fix spotless groovy and groovyGradle tasks use the same 
intermediate dir,
+      // until Beam no longer build on Java8 and can upgrade spotless plugin.
+      project.tasks.spotlessGroovy.mustRunAfter 
project.tasks.spotlessGroovyGradle
     }
 
     // containerImageName returns a configurable container image name, by 
default a

Reply via email to