-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Dependency Task Not Executing Correctly #30244
Comments
We appreciate the effort, but we must ask for more information so that we can triage it. We do not see an immediate root cause, and we need a minimal reproducible example for the triage. If we have a reproducer, we may be able also to suggest workarounds or ways to avoid the problem. The ideal way to provide a reproducer is to leverage our reproducer template. You can also use Gradle Project Replicator to reproduce the structure of your project. This issue will be closed after 7 days unless you provide more information. |
|
and also make sure that the task stuff is done in |
Your instructions are a little unclear. It would be better if you provided a reproducer in the form of a project that demonstrates the behavior. Task dependencies are well tested in Gradle, so it's likely that if there is an issue here, it's due to a very specific set of circumstances. |
We previously asked for a reproducer, and unfortunately, none was provided. If you provide a valid reproducer, we may revisit this issue. In the meantime, this issue will be closed as unreproducible. |
Current Behavior
I'm facing an issue where a task intended to depend on another task's completion is not behaving as expected. The dependent task seems to run before the dependency is finished.
Expected Behavior
The dependent task should only start after the dependency task has successfully completed.
Context (optional)
No response
Steps to Reproduce
Create a Gradle project with two tasks: buildDependency and dependentTask.
Configure dependentTask to depend on buildDependency using dependsOn.
Execute dependentTask.
Gradle version
8.10
Build scan URL (optional)
No response
Your Environment (optional)
where?
buildSrc
scriptwhere does
RunWithPlugins
belong?https://github.com/jpenilla/run-task
The text was updated successfully, but these errors were encountered: