https://kotlinlang.org logo
#library-development
Title
# library-development
h

Hylke Bron

03/13/2024, 2:30 PM
I'm trying to make a kotlin multiplatform library, which only uses coroutines as a dependency and other than that its pure kotlin code. So naturally I want to target as many targets as possible. Is there some exhaustive list of all possible targets? Or am I thinking wrongly about this? In theory as its pure kotlin + coroutines I dont want to limit the possible targets, but let kotlin and coroutines be leading in what I support. I currently have the following list by looking at the gradle dsl files
KotlinTargetContainerWithPresetFunctions.kt
,
KotlinTargetContainerWithJsPresetFunctions.kt
and
KotlinTargetContainerWithWasmPresetFunctions.kt
.
m

mbonnin

03/13/2024, 2:37 PM
There is this for native but I'm not aware of another place other than the source code itself like you used
You might also be interested in https://youtrack.jetbrains.com/issue/KT-52666
h

Hylke Bron

03/14/2024, 8:26 AM
Thanks! Interesting read as well.