https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
i

ilya.gorbunov

11/08/2017, 3:00 PM
@voddan No there's no such plans: first, platform modules would not be a convenient replacement for this feature, second, splitting the standard library for each JVM version would fragment the libraries that built on top of it.
👍 1
v

voddan

11/08/2017, 3:07 PM
Are libs not segmented over jvm versions?
i

ilya.gorbunov

11/08/2017, 3:47 PM
When you make a library which is JDK6/8 compatible you can make a single artifact, rather than 3 artifacts (common, jdk6, jdk8) required by multiplatform projects.
v

voddan

11/08/2017, 4:31 PM
But what if the
jdk6
artifact implies a
jdk8
artifact? Or are such constructs out of the multiplatform feature scope?
The reason this might be interesting is that other platforms, like JS, also have platform versioning. That means that ether we hack kotlinc to support API changes on the version, or we include a versioning scheme into the modules