-
Notifications
You must be signed in to change notification settings - Fork 261
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
[BUG] Gradle build failure - clean, no cache, skip test -> fails #7536
Comments
Originally reported by @lpalashevski Regardless of whether cache is enabled or disabled, the build should work. All tasks need to clearly define inputs and outputs, plus there are additional task dependencies. The open types test is a little obscure - in terms of what is source vs test -- for example we're still building the open types generator which arguably isn't needed if not running tests. It also builds every time even when other files are not changing, this is partly as the java program that does this is a black box as far as gradle is concerned. I will look at whether a simple additional dependency can help, but the proper fix probably involves some refactoring of these components |
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Currently the open fvt types have been commented out until we can resolve issues fully. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
@lpalashevski assigning as I think you noticed this first. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
Existing/related issue?
No response
Current Behavior
Gradle build can fail in some cases where build cache is disabled,or build has not been run before and tests are explicitly skipped
The error reported is:
lots of these:
then
Expected Behavior
Build should also correctly handle dependencies and built what is needed
Steps To Reproduce
./gradlew clean build -x test -x javadoc --no-build-cache
Environment
Any Further Information?
Our build pipelines succeed as they make use of a shared build cache
The text was updated successfully, but these errors were encountered: