{"action":"created","issue":{"url":"https://api.github.com/repos/prezi/gradle/issues/5","labels_url":"https://api.github.com/repos/prezi/gradle/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/prezi/gradle/issues/5/comments","events_url":"https://api.github.com/repos/prezi/gradle/issues/5/events","html_url":"https://github.com/prezi/gradle/issues/5","id":56524485,"number":5,"title":"Remove DslOriginDependencyMetaData","user":{"login":"lptr","id":495366,"avatar_url":"https://avatars.githubusercontent.com/u/495366?v=3","gravatar_id":"","url":"https://api.github.com/users/lptr","html_url":"https://github.com/lptr","followers_url":"https://api.github.com/users/lptr/followers","following_url":"https://api.github.com/users/lptr/following{/other_user}","gists_url":"https://api.github.com/users/lptr/gists{/gist_id}","starred_url":"https://api.github.com/users/lptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lptr/subscriptions","organizations_url":"https://api.github.com/users/lptr/orgs","repos_url":"https://api.github.com/users/lptr/repos","events_url":"https://api.github.com/users/lptr/events{/privacy}","received_events_url":"https://api.github.com/users/lptr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/prezi/gradle/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-04T13:12:46Z","updated_at":"2015-02-04T18:11:51Z","closed_at":null,"body":"We couldn’t figure out how to remove `DslOriginDependencyMetaData.getSource()`, so we still have the two different project metadata classes. What shall we do about it?"},"comment":{"url":"https://api.github.com/repos/prezi/gradle/issues/comments/72906931","html_url":"https://github.com/prezi/gradle/issues/5#issuecomment-72906931","issue_url":"https://api.github.com/repos/prezi/gradle/issues/5","id":72906931,"user":{"login":"bigdaz","id":179734,"avatar_url":"https://avatars.githubusercontent.com/u/179734?v=3","gravatar_id":"","url":"https://api.github.com/users/bigdaz","html_url":"https://github.com/bigdaz","followers_url":"https://api.github.com/users/bigdaz/followers","following_url":"https://api.github.com/users/bigdaz/following{/other_user}","gists_url":"https://api.github.com/users/bigdaz/gists{/gist_id}","starred_url":"https://api.github.com/users/bigdaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigdaz/subscriptions","organizations_url":"https://api.github.com/users/bigdaz/orgs","repos_url":"https://api.github.com/users/bigdaz/repos","events_url":"https://api.github.com/users/bigdaz/events{/privacy}","received_events_url":"https://api.github.com/users/bigdaz/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T18:11:51Z","updated_at":"2015-02-04T18:11:51Z","body":"I think we need to implement this correctly for now, because it's being used when we attach nodes to the root of the dependency graph:\r\nhttps://github.com/prezi/gradle/blob/master/subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/ResolvedConfigurationDependencyGraphVisitor.java#L75\r\n\r\nThe question is how we get the `ProjectDependency` instance given a `ProjectComponentSelector`, particularly if we need to allow `project(path: 'foo', configuration: 'bar')` in the substitution, since the configuration is lost in the `ProjectComponentSelector`. Do you think we need to support these types of dependencies? (I guess so)\r\n\r\nSo maybe we need a special `ProjectComponentSelector` implementation that holds onto the backing `ProjectDependency` and can be used here? (I need to clone your codebase so I can properly navigate to see how this might work). I need to look at bit deeper into this issue."}}