Hello, trying to add Bearer token to auth header while publishing to nexus using mavenDeployer plugin or maven-publish plugin. Any suggestions on how to achieve this - found a similar issue -https://discuss.gradle.org/t/use-bearer-token-auth-header-with-http-transport/17425/2
I don’t have any real world experience with this, but does the header based auth work for you?
https://docs.gradle.org/current/userguide/declaring_repositories.html#sub:http-header-auth