ibzib commented on a change in pull request #13425:
URL: https://github.com/apache/beam/pull/13425#discussion_r530530884
##########
File path:
buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
##########
@@ -1914,6 +1914,10 @@ class BeamModulePlugin implements Plugin<Project> {
// Method to create the crossLanguageValidatesRunnerTask.
// The method takes crossLanguageValidatesRunnerConfiguration as parameter.
project.ext.createCrossLanguageValidatesRunnerTask = {
+ // This task won't work if the python build file doesn't exist.
+ if (!project.project(":sdks:python").buildFile.exists()) {
+ return
Review comment:
I thought maybe we should return a task that errors out when you try to
call it, instead of leaving the task mysteriously missing. But it's probably
not worth the effort.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]