https://kotlinlang.org logo
#compose
Title
# compose
h

Halil Ozercan

08/18/2020, 5:20 PM
Is next(dev17) release going to use kotlin 1.4 release version?
a

Adam Powell

08/18/2020, 5:41 PM
I think @jim knows which side of the branch cut it landed in, it's either 1.4.0-rc or 1.4.0. The 1.4 finalization was very close to the dev17 build cutoff last Wednesday
j

jim

08/18/2020, 8:03 PM
I think
dev17
will use
1.4.0-rc
and the build after that will use
1.4.0
. Although all recent builds (including
dev16
) are technically compatible with
1.4.0
and will work if you force the dependency.
l

louiscad

08/18/2020, 8:39 PM
@jim There shouldn't be a need to force the dependency? I think 1.4.0 Gradle plugin automatically adds the correct stdlib dependency
j

jim

08/18/2020, 9:05 PM
But if you specify
1.4.0
in your file but try to use an artifact that demands
1.4.0-rc
, what happens? Don't you need to do something to tell Gradle "eeh, it's fine".
l

louiscad

08/18/2020, 9:53 PM
Gradle will pick the latest of the two, which is 1.4.0 according to its version sorting.
j

jim

08/18/2020, 9:54 PM
ok, great. If it works, then it works, by all means use
1.4.0
!
l

louiscad

08/19/2020, 6:17 AM
If no ranges are involved, then the highest version that is not rejected will be selected.
From this page: https://docs.gradle.org/current/userguide/dependency_resolution.html
2 Views