{"action":"opened","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/3437","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/3437/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/3437/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/3437/events","html_url":"https://github.com/gradle/gradle/issues/3437","id":272835697,"number":3437,"title":"Execution failed for task ':clean' after gradle upgraded from 3.5.1 to 4.3.1","user":{"login":"danielsun1106","id":9151616,"avatar_url":"https://avatars2.githubusercontent.com/u/9151616?v=4","gravatar_id":"","url":"https://api.github.com/users/danielsun1106","html_url":"https://github.com/danielsun1106","followers_url":"https://api.github.com/users/danielsun1106/followers","following_url":"https://api.github.com/users/danielsun1106/following{/other_user}","gists_url":"https://api.github.com/users/danielsun1106/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsun1106/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsun1106/subscriptions","organizations_url":"https://api.github.com/users/danielsun1106/orgs","repos_url":"https://api.github.com/users/danielsun1106/repos","events_url":"https://api.github.com/users/danielsun1106/events{/privacy}","received_events_url":"https://api.github.com/users/danielsun1106/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-10T06:51:59Z","updated_at":"2017-11-10T06:51:59Z","closed_at":null,"author_association":"NONE","body":"<!--- Please follow the instructions below. We receive dozens of issues every week, -->\r\n<!--- so to stay productive, we will close issues that don't provide enough information. -->\r\n\r\n<!--- Please open Android-related issues on the Android Issue Tracker at `https://source.android.com/source/report-bugs` -->\r\n\r\n<!--- Provide a brief summary of the issue in the title above -->\r\n\r\n### Expected Behavior\r\n<!--- If you're describing a bug, tell us what should happen -->\r\n<!--- If you're suggesting a change/improvement, tell us how it should work -->\r\nExecute task ':clean' successfully.\r\n\r\n### Current Behavior\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\nExecution failed for task ':clean'  because of the error `Caused by: org.gradle.api.file.UnableToDeleteFileException: Unable to delete file: D:\\_APPS\\git_apps\\groovy\\target\\libs\\groovy-3.0.0-SNAPSHOT.jar`  ( BTW, sometimes the file failed to delete is `D:\\_APPS\\git_apps\\groovy\\target\\bootstrap\\groovy-3.0.0-SNAPSHOT-bootstrap.jar` )\r\n\r\n### Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\nWe fail to continue run `gradlew clean dist`, no workaround found yet...\r\n\r\n### Steps to Reproduce (for bugs)\r\n<!--- Provide a self-contained example project (as an attached archive or a Github project). -->\r\n<!--- In the rare cases where this is infeasible, we will also accept a detailed set of instructions. -->\r\n1. clone https://github.com/apache/groovy.git\r\n2. run `gradlew clean dist`\r\n3. get the error `FAILURE: Build failed with an exception.`, i.e. `org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':clean'`\r\n\r\n### Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n<!--- A build scan `https://gradle.com/scans/get-started` is ideal -->\r\nWin10, Java 8, Gradle 4.3.1\r\n * Build scan URL:  https://gradle.com/s/dx7bxzoe5tpmg\r\n"}}
{"actor":{"display_login":"danielsun1106"}}