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

Up-to-date check fails to detect actual dependency changes #84

Open
sb-software opened this issue Apr 2, 2022 · 1 comment
Open

Up-to-date check fails to detect actual dependency changes #84

sb-software opened this issue Apr 2, 2022 · 1 comment
Labels
bug Something isn't working needs info

Comments

@sb-software
Copy link

The current Gradle task doesn't seem to take the actual dependency tree into account when determining its up-to-date state. This means any changes made to a project's dependencies will not be detected unless using --rerun-tasks or clean between runs.

Probably trying to keep and evaluate the tree would be as expensive as just always running the task so my initial suggestion would be to simply mark the task as an @UntrackedTask as the task itself doesn't seem that heavy-weight to begin with.

@JakeWharton
Copy link
Collaborator

The classpath that we read the dependencies from is marked as a task input so this should not happen. I'll try to see if I can reproduce at some point.

@JakeWharton JakeWharton added bug Something isn't working needs info labels May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs info
Projects
None yet
Development

No branches or pull requests

2 participants