We're at 8030 kotlin libraries on MavenCentral aft...
# feed
b
We're at 8030 kotlin libraries on MavenCentral after last night's kamp.petuska.dev scan! An increase of 494 since 2022-02-01 (just over a month and a half ago). Apologies for the spam - over and out! K K
K 7
r
Have you considered adding more sorting or filtering options? It's really hard to discover new things with the current interface (unless they're at the beginning of the alphabet or you already know the name)
b
I have. Searching by github tags, filtering by last updated daterange, providing stats page and Library page like on npm with extra data is all on the roadmap. I simply don't have the time to do it all plus my focus now is kmdc so I could rewrite kamp with compose-web and maybe even provide intellij plugin via compose-desktop. But if you think of something else, do raise an issue on the repo so the idea would not get lost
A "new & updated" page to showcase recent developments would probably be a good idea too.
And after all that I'll probably look into "author claims" feature where lib authors could claim their libs on kamp and manually add extra data to make it more discoverable (categories, useful links, better descriptions, etc...)
❤️ 3
a
How are you judging whether a library is a Kotlin library?
b
Via gradle metadata. This does mean that kotlin libs published via maven or older versions of gradle are not detected.
a
Does it only include jar libraries?
b
No, it includes all kmp combinations
e.g. aar built with kotlin or kmp library with aar artefact. Pretty much all libs returned when filtering by android are aar artefacts
a
I asked because it doesn't seem to be including my library.
b
Is it published with gradle metadata?
There's also a known bug in the scanner preventing it from detecting modules if there's already a module detected higher up the same path
a
I’m not actually configuring anything related to gradle metadata but if you mean
.module
file, it is there.
b
Hmm, could you please raise an issue on github.com/mpetuska/kamp please? Something else seems to be bugged.
Looks like kotlin metadata is not present in your .module file. Maybe kotlin plugin in use is outdated too much?
a
I’m using 1.6.10. Could it be related to gradle-maven-publish-plugin? I noticed that Google’s Accompanist which is using the same plugin is also missing from the index.
b
Might be. I personally always use maven-publish and all my stuff is in the index
a
my stuff is in the index too and I use maven-publish as well
a
It actually doesn’t seem to be related to the plugin because this and this are also using the plugin and are both indexed.
And considering the extremely low number of Android-only libs compared to multiplatform Android libs in the index, I highly suspect that there are many missing Android libs.
b
Really odd, as there are tons a decent number of android-only libs already present. This certainly needs a proper look.
I still have no clue why, but the core reason your lib is not in the index is because your .module has no mention of kotlin in variant attributes.
Namely "org.jetbrains.kotlin.platform.type" as seen in this android only lib from the index