{"action":"created","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/6582","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/6582/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/6582/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/6582/events","html_url":"https://github.com/gradle/gradle/issues/6582","id":355879944,"node_id":"MDU6SXNzdWUzNTU4Nzk5NDQ=","number":6582,"title":"Gradle 4.10 incorrect ordering between dependencies of dependent tasks","user":{"login":"atorok","id":2565652,"node_id":"MDQ6VXNlcjI1NjU2NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/2565652?v=4","gravatar_id":"","url":"https://api.github.com/users/atorok","html_url":"https://github.com/atorok","followers_url":"https://api.github.com/users/atorok/followers","following_url":"https://api.github.com/users/atorok/following{/other_user}","gists_url":"https://api.github.com/users/atorok/gists{/gist_id}","starred_url":"https://api.github.com/users/atorok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atorok/subscriptions","organizations_url":"https://api.github.com/users/atorok/orgs","repos_url":"https://api.github.com/users/atorok/repos","events_url":"https://api.github.com/users/atorok/events{/privacy}","received_events_url":"https://api.github.com/users/atorok/received_events","type":"User","site_admin":false},"labels":[{"id":460356597,"node_id":"MDU6TGFiZWw0NjAzNTY1OTc=","url":"https://api.github.com/repos/gradle/gradle/labels/a:bug","name":"a:bug","color":"d93f0b","default":false},{"id":478384995,"node_id":"MDU6TGFiZWw0NzgzODQ5OTU=","url":"https://api.github.com/repos/gradle/gradle/labels/from:contributor","name":"from:contributor","color":"0052cc","default":false},{"id":285742270,"node_id":"MDU6TGFiZWwyODU3NDIyNzA=","url":"https://api.github.com/repos/gradle/gradle/labels/in:core","name":"in:core","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"ghale","id":642656,"node_id":"MDQ6VXNlcjY0MjY1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/642656?v=4","gravatar_id":"","url":"https://api.github.com/users/ghale","html_url":"https://github.com/ghale","followers_url":"https://api.github.com/users/ghale/followers","following_url":"https://api.github.com/users/ghale/following{/other_user}","gists_url":"https://api.github.com/users/ghale/gists{/gist_id}","starred_url":"https://api.github.com/users/ghale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghale/subscriptions","organizations_url":"https://api.github.com/users/ghale/orgs","repos_url":"https://api.github.com/users/ghale/repos","events_url":"https://api.github.com/users/ghale/events{/privacy}","received_events_url":"https://api.github.com/users/ghale/received_events","type":"User","site_admin":false},"assignees":[{"login":"ghale","id":642656,"node_id":"MDQ6VXNlcjY0MjY1Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/642656?v=4","gravatar_id":"","url":"https://api.github.com/users/ghale","html_url":"https://github.com/ghale","followers_url":"https://api.github.com/users/ghale/followers","following_url":"https://api.github.com/users/ghale/following{/other_user}","gists_url":"https://api.github.com/users/ghale/gists{/gist_id}","starred_url":"https://api.github.com/users/ghale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghale/subscriptions","organizations_url":"https://api.github.com/users/ghale/orgs","repos_url":"https://api.github.com/users/ghale/repos","events_url":"https://api.github.com/users/ghale/events{/privacy}","received_events_url":"https://api.github.com/users/ghale/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/gradle/gradle/milestones/78","html_url":"https://github.com/gradle/gradle/milestone/78","labels_url":"https://api.github.com/repos/gradle/gradle/milestones/78/labels","id":3619990,"node_id":"MDk6TWlsZXN0b25lMzYxOTk5MA==","number":78,"title":"4.10.1","description":"","creator":{"login":"oehme","id":1191797,"node_id":"MDQ6VXNlcjExOTE3OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1191797?v=4","gravatar_id":"","url":"https://api.github.com/users/oehme","html_url":"https://github.com/oehme","followers_url":"https://api.github.com/users/oehme/followers","following_url":"https://api.github.com/users/oehme/following{/other_user}","gists_url":"https://api.github.com/users/oehme/gists{/gist_id}","starred_url":"https://api.github.com/users/oehme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oehme/subscriptions","organizations_url":"https://api.github.com/users/oehme/orgs","repos_url":"https://api.github.com/users/oehme/repos","events_url":"https://api.github.com/users/oehme/events{/privacy}","received_events_url":"https://api.github.com/users/oehme/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":8,"state":"open","created_at":"2018-09-04T10:55:23Z","updated_at":"2018-09-10T15:42:05Z","due_on":"2018-09-12T07:00:00Z","closed_at":null},"comments":10,"created_at":"2018-08-31T08:04:24Z","updated_at":"2018-09-10T17:52:11Z","closed_at":null,"author_association":"NONE","body":"After upgrading to Gradle 4.10, the eclipse project files are no longer generated when running:\r\n```\r\n./gradlew eclipse\r\n``` \r\nAs a work-around we have to run:\r\n```\r\n./gradlew eclipse\r\n./gradlew eclipseProject\r\n```\r\nWe have this in the build script: \r\n```\r\ntasks.eclipse.dependsOn(cleanEclipse, copyEclipseSettings)\r\n```\r\n\r\n### Expected Behavior\r\nThis used to work because all the dependencies of `cleanEclipse` were ran before all the dependencies of `eclipse`.\r\nImplicit dependency should be implied between the task dependencies on each side. \r\n\r\n### Current Behavior\r\nTasks such as `eclipseProject` are ran before `cleanEclipseProject` as such the config files are note generated.\r\n\r\n### Context\r\nImport projects to eclipse.\r\n\r\n### Steps to Reproduce (for bugs)\r\n```\r\ngit clone git@github.com:elastic/elasticsearch.git\r\ngit checkout 9c541b8f729  # check out upgrade to Gradle 4.10 as we'll revert it on master\r\n./gradlew eclipse\r\nfind -name .project | wc -l\r\n# 14\r\n./gradlew eclipseProject\r\nfind -name .project | wc -l\r\n# 206\r\n```\r\n\r\n### Your Environment\r\nhttps://gradle.com/s/ud7wjtlzi4dss\r\n"},"comment":{"url":"https://api.github.com/repos/gradle/gradle/issues/comments/420002086","html_url":"https://github.com/gradle/gradle/issues/6582#issuecomment-420002086","issue_url":"https://api.github.com/repos/gradle/gradle/issues/6582","id":420002086,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDAwMjA4Ng==","user":{"login":"big-guy","id":5387972,"node_id":"MDQ6VXNlcjUzODc5NzI=","avatar_url":"https://avatars0.githubusercontent.com/u/5387972?v=4","gravatar_id":"","url":"https://api.github.com/users/big-guy","html_url":"https://github.com/big-guy","followers_url":"https://api.github.com/users/big-guy/followers","following_url":"https://api.github.com/users/big-guy/following{/other_user}","gists_url":"https://api.github.com/users/big-guy/gists{/gist_id}","starred_url":"https://api.github.com/users/big-guy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/big-guy/subscriptions","organizations_url":"https://api.github.com/users/big-guy/orgs","repos_url":"https://api.github.com/users/big-guy/repos","events_url":"https://api.github.com/users/big-guy/events{/privacy}","received_events_url":"https://api.github.com/users/big-guy/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T17:52:11Z","updated_at":"2018-09-10T17:52:11Z","author_association":"MEMBER","body":"@oehme Gary pointed me to https://github.com/gradle/gradle/commit/49596cd5c6acf6f9889f79935d78772123da9e0d\r\n\r\nThis is the only production code change:\r\nhttps://github.com/gradle/gradle/commit/49596cd5c6acf6f9889f79935d78772123da9e0d#diff-2e4ae82137db9f058ae9480610c5df44R107"}}
{"actor":{"display_login":"big-guy"}}