heh, few messages earlier, yesterday, I've posted an "angry message" about this topic. Currently I'm resting a bit, but it all feels like a messy stuff.
My next plan is to learn from guys who did it:
1. 
kotlin-result
 seems like a small library (just as mine is), uses `maven-publish`: 
https://github.com/michaelbull/kotlin-result
2. 
arrow-kt
 big size library, uses custom plugin in a separate project
3. 
wire
 medium size library, uses `vanniktech/gradle-maven-publish-plugin`: 
https://github.com/square/wire
4. 
okio
 medium size library, uses 
vanniktech
 plugin too: 
https://github.com/square/okio
If you'll get as stuck as I am, maybe one of those could be used for poking inside š
My plan is:
⢠Try to do what 
kotlin-result
 does
⢠If not successful, leave all hope for 
maven-publish
 and check that other plugin