Publish plugin and Sonatype OSSRH

Here’s an exact screenshot of the settings that have been working. I think each setting is the default (but you can compare) except for the “Auto Blocking Enabled” setting that was changed to false. When set to true, the 404 caused the automatic blocking to kick in.

1 Like

Thanks for that screenshot. We’ve the repo setup in nexus successfully.

Putting https://plugins.gradle.org/m2/ directly into the Remote Storage Location did not work for me. The repo status would change to blocking. I worked around this by first setting Remote Storage Location to http://plugins.gradle.org/, saving, and once the status was In Service, I modified the location to the final value of https://plugins.gradle.org/m2/. After that, everything worked as expected. We are using Nexus 2.11.4-01.

Thanks Justinic.It works for me when I change the Auto blocking Enabled set to false.