The Docs are showing only way to build and publishToMavenLocal on Mac OS! As everyone can't have acess to Mac, so how to using Linux OS e.g. Ubuntu to do so. Is windows can be possible too? At least I think, we can use Linux for this too!