https://kotlinlang.org logo
Title
p

pniederw

05/07/2017, 7:31 PM
@moltendorf my understanding is that the latest standard library version should work with all code compiled against 1.0 or higher
m

mg6maciej

05/07/2017, 7:48 PM
pniederw: Except that pre 1.1 stdlib depended on runtime lib as a separate dependency, so there are duplicate classes when you depend std lib 1.1 and on library that depends on 1.0 stdlib.
And runtime lib has to be excluded.
p

pniederw

05/07/2017, 7:50 PM
yeah that’s a pitfall, but easy to fix once you understand it
m

mg6maciej

05/07/2017, 7:51 PM
I would prefer stdlib and runtime stayed separate.
Writing a lib in Kotlin that doesn't use anything from stdlib is not easily possible.
Assuming one would prefer not to have dependency on stdlib in that case, e.g. writing lib for potential Android Java users.
t

trevjones

05/08/2017, 12:37 AM
I have done it and it is damn near impossible for some things. Ended up converting some stuff to Java just to avoid the stdlib