Skip to content

Conversation

@rocketraman
Copy link
Contributor

Solves: random Gradle error in consumer projects:

Task has not declared any outputs despite executing actions.

and

FileNotFoundException: dependencies.txt

I believe Gradle was not aware of the zodable task outputs, and was therefore in some kind of race condition in which it would often error out (but work most of the time). There were also cases in which
the outputs of the KSP plugin were not declared (and not mapped to the inputs of creating the zodable packages), so there was another race there. This would sometimes result in FileNotFoundException on outputs of KSP e.g. dependencies.txt, though I only saw this problem after fixing the first problem.

This change allows Gradle to consistently work without error for both inputs and outputs.

@rocketraman rocketraman changed the title Register gradle outputs Register gradle outputs of ksp, and inputs of packaging tasks Nov 20, 2025
@rocketraman rocketraman marked this pull request as draft November 20, 2025 15:40
Solves: Task has not declared any outputs despite executing actions.
@rocketraman rocketraman force-pushed the rg/gradle-register-outputs branch from e7993e9 to 0fae53f Compare November 20, 2025 16:46
@rocketraman rocketraman marked this pull request as ready for review November 20, 2025 16:48
@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nathanfallet
Copy link
Member

Thank you again for your help on the project!

@nathanfallet nathanfallet merged commit 330cc32 into guimauvedigital:main Nov 24, 2025
2 checks passed
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.

2 participants