Found the reason. The pom for the dependency is there on jcenter, but jar is not, so when pom is found gradle stops searching in other repositories, but fails to download the dependency since jar isn't there, this is Spring issue, not gradle or kt-dsl related.
g
gildor
09/25/2017, 9:26 AM
Whoa, interesting case
c
Czar
09/25/2017, 9:27 AM
Yeah, I'll just change the order of repositories and it'll work
Czar
09/25/2017, 9:28 AM
Probably Spring upload screwed up and since it's a milestone version nobody from the team noticed it (all of them probably have milestone repositories with higher priority than jcenter if it's present at all).
Czar
09/25/2017, 9:30 AM
Project compiled, I was right. Thanks for your help, really saved me some time 🙂