tarun-google commented on code in PR #36255:
URL: https://github.com/apache/beam/pull/36255#discussion_r2376344575
##########
examples/java/iceberg/build.gradle:
##########
@@ -87,3 +87,41 @@ dependencies {
runtimeOnly project(path: project.getProperty("runnerDependency"))
}
}
+
+/*
+ * A convenient task to run individual example directly on Beam repo.
+ *
+ * Usage:
+ * ./gradlew :examples:java:iceberg:execute
-PmainClass=org.apache.beam.examples.iceberg.<ClassName>`\
+ *
-Pexec.args="runner=[DataflowRunner|DirectRunner|FlinkRunner|SparkRunner|PrismRunner]
\
+ * <pipeline options>"
+ */
+tasks.create(name:"execute", type:JavaExec) {
Review Comment:
valid point, should be a small fix. i will make the changes now
--
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]