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

Fix issue causing the copyAndRename* task to fail on occasions on Windows machines #90802

Conversation

m4gr3d
Copy link
Contributor

@m4gr3d m4gr3d commented Apr 17, 2024

Gradle automatically handles up-to-date checks for output files and directories. This behavior sometimes causes the copyAndRename* task to fail on Windows machines when gradle tries to check on existing files in the output directories it doesn't have access to.
To fix the issue, we disable this gradle behavior following the instructions in https://docs.gradle.org/8.2/userguide/incremental_build.html#sec:disable-state-tracking

@m4gr3d m4gr3d added bug platform:android topic:export cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release labels Apr 17, 2024
@m4gr3d m4gr3d added this to the 4.3 milestone Apr 17, 2024
@m4gr3d m4gr3d requested a review from a team as a code owner April 17, 2024 14:45
…indows machines

Gradle automatically handles up-to-date checks for output files and directories. This behavior sometimes causes the `copyAndRename*` task to fail on Windows machines when gradle tries to check on existing files in the output directories it doesn't have access to.
To fix the issue, we disable this gradle behavior following the instructions in https://docs.gradle.org/8.2/userguide/incremental_build.html#sec:disable-state-tracking
@m4gr3d m4gr3d force-pushed the fix_android_gradle_build_copy_rename_permissions_error branch from c88de21 to 1cc935f Compare April 17, 2024 15:38
@akien-mga akien-mga merged commit 6cf03a5 into godotengine:master Apr 22, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@m4gr3d m4gr3d deleted the fix_android_gradle_build_copy_rename_permissions_error branch April 22, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release platform:android topic:export
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants