Hi, everyone, anyones knows how to customize outp...
# library-development
l
Hi, everyone, anyones knows how to customize output aar file name for KMP library? looks like versionName and versionCode is not recognized in the android->defaultConfig block. Did I miss something?
m
versionCode
is only for apps, not for libraries
For the lib name, IIRC, this is taken from your Gradle module name. There are probably ways to tweak it but I have always tried to avoid this. I find it easier that the names match
l
Thanks. But is there a way to version the library?
m
Sure, that's when you publish your library. See https://kotlinlang.org/docs/multiplatform-publish-lib.html for how to set the version
👍 1