Description
The plugin assumes id("publishing") plugin for the publications, so have you considered using publishing.repositories declaration for the repository and the credentials?
If nmcp could fetch the repo url from there, it might be easier for the end users to declare the repositories in one place only rather than in two (nmcp for releases and publishing.repositories for snapshots).