Parkerhiphop commented on code in PR #21340:
URL: https://github.com/apache/kafka/pull/21340#discussion_r2725544427
##########
build.gradle:
##########
@@ -3990,3 +3990,103 @@ task aggregatedJavadoc(type: Javadoc, dependsOn:
compileJava) {
includes = projectsWithJavadoc.collectMany { it.javadoc.getIncludes() }
excludes = projectsWithJavadoc.collectMany { it.javadoc.getExcludes() }
}
+
+
+def updateVersionTask = tasks.register('updateVersion') {
Review Comment:
I've addressed this by hooking a `verifyVersionConsistency` task into the
`check` lifecycle.
This ensures that if the RM misses a file, the build will fail and guide
them to use the new `updateVersion` task to fix it automatically.
What do you think of this approach?
--
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]