Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Fixes #166

Merged
merged 3 commits into from
Jul 23, 2024
Merged

Example Fixes #166

merged 3 commits into from
Jul 23, 2024

Conversation

v1r3n
Copy link
Collaborator

@v1r3n v1r3n commented Jul 22, 2024

  • Fix example sources
  • executeWorkflow signature updates

@v1r3n v1r3n requested a review from manan164 July 22, 2024 06:16
build.gradle Outdated
@@ -251,5 +251,5 @@ signing {
tasks.withType(Test) {
maxParallelForks = 1
}
sourceSets.main.java.srcDirs += ['example/java', 'example/resources']
sourceSets.main.java.srcDirs += ['examples/java', 'examples/resources']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

examples/resources is a resource dir, so it should be:

sourceSets.main.resources.srcDirs += ['examples/resources']

BUT, if you fix this, you must also exclude workflow.json, task_domain_wf.json from the generated jar.

This doesn't matter much at the moment because no example is actually using the resources programmatically.

@v1r3n v1r3n merged commit 524f0bf into main Jul 23, 2024
1 check passed
@v1r3n v1r3n deleted the fix_examples branch July 23, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants