https://kotlinlang.org logo
#announcements
Title
# announcements
l

leodeng

11/27/2017, 12:21 PM
from one of my gradle projects, it seems that kotlin-stdlib-jre8 1.1.61 is dependent on kotlin-stdlib-jre7 1.1.51, and also kotlin-stdlib-jre7 1.1.61 is dependent on kotlin-stdlib 1.1.51. so in order to use 1.1.61 for all of them, i have to write 3 lines instead of just one line. is this intentional?
h

hho

11/27/2017, 1:00 PM
Certainly not. However, as the dependencies are correct in JCenter (see https://bintray.com/bintray/jcenter/download_file?file_path=org%2Fjetbrains%2Fkotlin%2Fkotlin-stdlib-jre8%2F1.1.61%2Fkotlin-stdlib-jre8-1.1.61.pom ) I think the problem is in your setup. You might want to ask in the #gradle or #build-tools channel.
l

leodeng

11/27/2017, 1:41 PM
yah. i also checked the pom file in my local gradle cache, and the dependencies seem right. this might be caused by other gradle plugins
i suspect that it’s the spring dependency-management plugin that forced the kotlin-stdlib* versions to be 1.1.51
2 Views