The information for this I find on the web is 5 years old.
Basically I want to use the function of the plugin https://github.com/synergian/wagon-git
However the Plugin no longer supports Bitbucket v2.
How can I publish an artifact to a Maven repository hosted on bitbucket using gradle?