{"action":"opened","issue":{"url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/223","repository_url":"https://api.github.com/repos/ajoberstar/gradle-git","labels_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/223/comments","events_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/223/events","html_url":"https://github.com/ajoberstar/gradle-git/issues/223","id":187569384,"number":223,"title":"dependency-ranges: x.y.z-milestone.m.dev.n+xx not taken as latest version, but x.y.z-milestone.m.dev is used","user":{"login":"gerhard6","id":10010674,"avatar_url":"https://avatars.githubusercontent.com/u/10010674?v=3","gravatar_id":"","url":"https://api.github.com/users/gerhard6","html_url":"https://github.com/gerhard6","followers_url":"https://api.github.com/users/gerhard6/followers","following_url":"https://api.github.com/users/gerhard6/following{/other_user}","gists_url":"https://api.github.com/users/gerhard6/gists{/gist_id}","starred_url":"https://api.github.com/users/gerhard6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerhard6/subscriptions","organizations_url":"https://api.github.com/users/gerhard6/orgs","repos_url":"https://api.github.com/users/gerhard6/repos","events_url":"https://api.github.com/users/gerhard6/events{/privacy}","received_events_url":"https://api.github.com/users/gerhard6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-06T15:50:43Z","updated_at":"2016-11-06T15:50:43Z","closed_at":null,"body":"Hello\r\n\r\nI wonder about this:\r\n\r\nmy list of artifacts in local maven repo \r\n\r\n\t5.1.1-milestone.2.dev.1+978b414/\r\n\t5.1.1-milestone.3/\r\n\t5.1.1-milestone.3.dev.1+380931b/\r\n\t5.1.1-milestone.3.dev.2+d0291de/\r\n\t5.1.1-milestone.3.dev.3+6175bcf/\r\n\t5.1.1-milestone.4/\r\n\t5.1.1-milestone.4.dev.1+f6e7805/\r\n\t\r\nso, 5.1.1-milestone.4.dev.1+f6e7805 is newer (later commit) than 5.1.1-milestone.4\r\n\r\non the other project I have such a dependency version-range:\r\n   \r\n    compile 'ggg:aaa:5.1.1+'\r\n\r\nand the unintended result is that this references the milestone.4 version and not the milestone.4.dev.1 version\r\n\r\nis this a bug or by design ? \r\n\r\nIf by design, then: How should I define my dependency to stay always with the latest version ?\r\nAm I using the wrong approach ? - if yes, would you have some pointers to guidelines for me ?\r\n\r\nHow could I adapt your code/config to achieve the intended result ?\r\n\r\nIMO a better strategy would be to have a sequence like this:\r\n\r\n\t5.1.1-milestone.3.dev.1+380931b/\r\n\t5.1.1-milestone.3.dev.2+d0291de/\r\n\t5.1.1-milestone.3.dev.3+6175bcf/\r\n\t5.1.1-milestone.3/\r\n\t5.1.1-milestone.4.dev.1+f6e7805/\r\n\t5.1.1-milestone.4/\r\n\r\n\r\nThx a lot, Gerhard\r\n\r\n"}}
{"actor":{"display_login":"gerhard6"}}