What is the best way to make a kotlin library to s...
# announcements
a
What is the best way to make a kotlin library to share on maven?
l
What do you mean with best way?
a
The only way? Lol
l
I mean, people usually write code, publish it to GitHub and then use the maven publish plugin to connect it to a maven repository, usually MavenCentral
a
Is there still a main function?
l
Depends on what your library does. If it's an executable, or a complete software (no longer a library) then yes, there usually is a main function
If it's just a library, such as #koin or #mockk, there usually isn't any main function
I'm not sure if this answered you
a
I think it’s enough
Its basically code for other people to use