Komi Bi-Ayéfo ATSOU
Komi Bi-Ayéfo ATSOU
This worked for me tasks.register("execute") { group = "application" description = "Run the Java application." mainClass.set("org.apache.beam.examples.WordCount") classpath = sourceSets["main"].runtimeClasspath } tasks.getByName("execute").dependsOn("classes")
This works for me .\gradlew clean execute -D mainClass=org.apache.beam.examples.WordCount --args="--inputFile=sample.txt --output=counts"
> [@KomiB-Atsou](https://github.com/KomiB-Atsou) can you provide more context? where this should be added in the documentation/website? Sorry. I updated the description to provide more context.
> [@KomiB-Atsou](https://github.com/KomiB-Atsou) I guess you are looking for this change: [#34837](https://github.com/apache/beam/pull/34837) Exactly. Thanks.