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 088c854d7a3 Fix :examples:java:twitter:execute task (#31103)
088c854d7a3 is described below

commit 088c854d7a38a369b93cec725467ce6328b3e643
Author: Yi Hu <[email protected]>
AuthorDate: Thu Apr 25 14:32:39 2024 -0400

    Fix :examples:java:twitter:execute task (#31103)
---
 examples/java/twitter/build.gradle | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/java/twitter/build.gradle 
b/examples/java/twitter/build.gradle
index f053bd41466..27f72c310e6 100644
--- a/examples/java/twitter/build.gradle
+++ b/examples/java/twitter/build.gradle
@@ -98,5 +98,6 @@ task preCommit() {
 }
 
 task execute (type:JavaExec) {
+    classpath = sourceSets.main.runtimeClasspath
     mainClass = "org.apache.beam.examples.twitterstreamgenerator.TwitterStream"
 }
\ No newline at end of file

Reply via email to