damccorm opened a new issue, #21302:
URL: https://github.com/apache/beam/issues/21302

   Now the Beam version is defined in two places:
    * via the 'version' parameter [in 
gradle.properties](https://github.com/apache/beam/blob/master/gradle.properties#L27),
    * programmatically in the `apply` function [in 
BeamModulePlugin]([https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L384-L387).]
   
   The latter effectively overrides the former. For someone not very familiar 
with the Beam build system this may result in a hard to understand and debug 
behavior: unexpected version gets build and/or pushed to local Maven 
repository, and changing version in `gradle.properties` does not have any 
effect.
   
   Adding a comment with a reference to `BeamModulePlugin` to 
`gradle.properties` can be a good start, and in the long run it would be great 
to have single source of truth for the project version.
   
    
   
    
   
   Imported from Jira 
[BEAM-14051](https://issues.apache.org/jira/browse/BEAM-14051). Original Jira 
may contain additional context.
   Reported by: dmitryor.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to