Open oshai opened 3 years ago
Move:
nexusPublishing {
repositories {
sonatype()
}
}
from the allprojects {}
block to the root project.
Thanks, that worked! (I think I tried it initially and it didn't, but probably my mistake). I still have a problem in the repo upload. I think for some reason the version is not configured correctly (shows as unspecified)
I moved the version to the all project section and it looks better.
I still have an issue with signing the artifacts. Should I do it with another plugin? I saw issue #85 which hints I should, but the docs don't explain how to integrate it. Another plugin I saw is much more specific about how to do that: https://github.com/vanniktech/gradle-maven-publish-plugin#signing
I think I figured out I should use the signing plugin, so I will try that. But I think it will be nice if this plugin will deal with that or explain it in the docs.
I am trying to use the plugin to deploy to maven central (now that jcenter is gone). I am getting the following error on build:
To reproduce it I upload the code with changes to a branch: https://github.com/jasync-sql/jasync-sql/tree/publish-plugin
Thanks in advance!