I use gradle with IDEA. When kotson is included in my gradle project, it automatically introduces Kotlin 1.0.6 dependency. I have to manually do the following, to use kotlin version specified in my own build.gradle:
Turns out it's my mistake (?). In official kotlin gradle tutorial, it said I should include kotlin-stdlib dependency, which I didn't. When I included them, the problem is gone.
I use gradle with IDEA. When kotson is included in my gradle project, it automatically introduces Kotlin 1.0.6 dependency. I have to manually do the following, to use kotlin version specified in my own
build.gradle
:I think it's better to avoid dependency to Kt version this library uses in downstream projects if possible.