https://kotlinlang.org logo
#android
Title
# android
o

Olle

03/25/2020, 2:17 PM
Hey, so im converting an internal Java library to Kotlin and keep running into
class file for kotlin.jvm.internal.markers.KMappedMarker not found
whenever im compiling the project implementing the library. I’ve added the kotlin stdlib to the library as a dependecy like so:
Copy code
api("org.jetbrains.kotlin:kotlin-stdlib:1.3.71")
It does compile if i add kotlin to the project implementing the library but we would like to avoid that if possible. any tips/pointers would be appriciated, Thanks!
Seems like the proper way to implement my library was this:
Copy code
api('my.library.name:5.0.2@aar') {
    transitive = true <---Important
}