Are we allowed to write our own kotlinx libraries ...
# announcements
a
Are we allowed to write our own kotlinx libraries ?(ie kotlinx.SOMELIBRARY)
k
I doubt there are legal problems with it, but why would you do this?
a
I want to create a cross platform alternative for String.format (write my own formatter, format syntax or so)
And what license should I follow
k
Sure, but why not put it in your own package?
Licence you can choose yourself.
g
If you want to make it opensource, I would choose Apache 2.0, same license as Kotlin itself.
a
Works for js @karelpeeters?
And I will make it opensource
k
Sure, there's a checkbox on the top right.
a
Tho I still want to make an alternative, guess it should be in my own package
g
I do not think that use kotlinx package is a good idea for non-official library. I would rather implement it on your own package and create a proposal to make official library under kotlin or kotlinx package
a
Ok then, thanks
String.format is not included in common code
🤔
Nor Js runtime
h
@karelpeeters The dropdown at the top right is a filter for what docs to show. If you set it to JS, the page is empty. All
String.format
variants have "Platform and version requirements: JVM" written below them.
k
Ah my bad.