{"action":"created","issue":{"url":"https://api.github.com/repos/Skyr/scmversion-gradle-plugin/issues/4","labels_url":"https://api.github.com/repos/Skyr/scmversion-gradle-plugin/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Skyr/scmversion-gradle-plugin/issues/4/comments","events_url":"https://api.github.com/repos/Skyr/scmversion-gradle-plugin/issues/4/events","html_url":"https://github.com/Skyr/scmversion-gradle-plugin/issues/4","id":102770944,"number":4,"title":"Can I use the project.version for dependencies (without usign a gradle multi-project)","user":{"login":"nikolauskrismer","id":2979909,"avatar_url":"https://avatars.githubusercontent.com/u/2979909?v=3","gravatar_id":"","url":"https://api.github.com/users/nikolauskrismer","html_url":"https://github.com/nikolauskrismer","followers_url":"https://api.github.com/users/nikolauskrismer/followers","following_url":"https://api.github.com/users/nikolauskrismer/following{/other_user}","gists_url":"https://api.github.com/users/nikolauskrismer/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolauskrismer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolauskrismer/subscriptions","organizations_url":"https://api.github.com/users/nikolauskrismer/orgs","repos_url":"https://api.github.com/users/nikolauskrismer/repos","events_url":"https://api.github.com/users/nikolauskrismer/events{/privacy}","received_events_url":"https://api.github.com/users/nikolauskrismer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-24T11:21:52Z","updated_at":"2015-08-26T09:18:28Z","closed_at":null,"body":"First, I want to thank you for this great plugin.\r\nBefore I found it, I had to keep my versions in both - git and gradle - up to date.\r\nThanks to the plugin this has been reduced to git only :-)\r\n\r\nThere is only one thing I can not handle right now.\r\nMaybe someone can help me.\r\n\r\nI have to projects using git. One project is the dependency of the other one.\r\nBoth projects use the same version numbers, so that if Project A is build it is used by Project B in the same version.\r\n\r\nUntil now I could solve it like this\r\nprojectA->build.gradle: Define version=\"v0.5.0\"\r\nprojectB->build.gradle: Also define version=\"v0.5.0\" and use \"compile \"myDomain:projectA:$project.version\"\" in dependencies.\r\n\r\nHow can I achieve the same thing using this plugin.\r\nIf I try it as before the version in the dependencies block is \"unspecified\" (I guess that at this point the version simply has not been set), so the error message is \" Could not find myDomain:projectA:unspecified.\"\r\n\r\nIs there anything I can do to solve this problem? I tried using taskGraph.whenReady and afterEvaluate, but nothing worked (or maybe I did it the wrong way...)."},"comment":{"url":"https://api.github.com/repos/Skyr/scmversion-gradle-plugin/issues/comments/134913086","html_url":"https://github.com/Skyr/scmversion-gradle-plugin/issues/4#issuecomment-134913086","issue_url":"https://api.github.com/repos/Skyr/scmversion-gradle-plugin/issues/4","id":134913086,"user":{"login":"nikolauskrismer","id":2979909,"avatar_url":"https://avatars.githubusercontent.com/u/2979909?v=3","gravatar_id":"","url":"https://api.github.com/users/nikolauskrismer","html_url":"https://github.com/nikolauskrismer","followers_url":"https://api.github.com/users/nikolauskrismer/followers","following_url":"https://api.github.com/users/nikolauskrismer/following{/other_user}","gists_url":"https://api.github.com/users/nikolauskrismer/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolauskrismer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolauskrismer/subscriptions","organizations_url":"https://api.github.com/users/nikolauskrismer/orgs","repos_url":"https://api.github.com/users/nikolauskrismer/repos","events_url":"https://api.github.com/users/nikolauskrismer/events{/privacy}","received_events_url":"https://api.github.com/users/nikolauskrismer/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T09:18:28Z","updated_at":"2015-08-26T09:18:28Z","body":"OK... even when using this approach I get the error above.\r\nI do have some modifications in my repo, so the version gets increased to 2.3-SNAPSHOT (in your example), but I also have such a SNAPSHOT version available for the dependency I want to include...\r\n\r\nThe part I do not understand in the error message is that there is a \"Required by: at.uibk.dbis:isochrone-web:0.5.1-SNAPSHOT\", while the dependency searched is \"isochrone-0-SNAPSHOT.jar\". If the last one would be \"isochrone-0.5.1-SNAPSHOT.jar\" things would be found in my remote repository...\r\n"}}